[Gluster-devel] Determine if a file is open in a cluster
Vijay Bellur
vbellur at redhat.com
Thu Jan 11 23:08:47 UTC 2018
Hi Ram,
Do you want to check this from within a translator? If so, you can look
for GLUSTERFS_OPEN_FD_COUNT in xlators like dht, afr, ec etc. where they
check for open file descriptors in various FOPs.
Regards,
Vijay
On Thu, Jan 11, 2018 at 10:40 AM, Ram Ankireddypalle <areddy at commvault.com>
wrote:
> Hi,
>
> Is it possible to find out within a cluster if a file is currently
> open by any of the clients/self-heal daemon or any other daemon’s within a
> cluster. Please point to the sample code in any of the Xlator which does
> such a check.
>
>
>
> Thanks and Regards,
>
> Ram
> ***************************Legal Disclaimer***************************
> "This communication may contain confidential and privileged material for
> the
> sole use of the intended recipient. Any unauthorized review, use or
> distribution
> by others is strictly prohibited. If you have received the message by
> mistake,
> please advise the sender by reply email and delete the message. Thank you."
> **********************************************************************
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20180111/fdd1af6a/attachment.html>
More information about the Gluster-devel
mailing list