lock xlator question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lock translator cleans up all locks held by a client when it disconnects. It
is the client's responsibility to re-acquire locks which it had held before
disconnection.

Avati

On Tue, Jun 7, 2011 at 12:36 PM, Cheng Shao <zchshao at gmail.com> wrote:

> Hi everyone,
>
> I just want to understand how the lock xlator handles client failures.
> Say one client uses fcntl() to lock a file for write using mandatory
> lock, and later it crashes. Is there a lock expiration in lock xlator
> to deal with this situation so that others can lock the file later on?
> Or everybody is pretty much locked out?
>
> thanks,
> - cheng
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gluster.org/pipermail/gluster-users/attachments/20110610/aa079168/attachment-0001.htm>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux