Lei Gong
2018-Apr-04 03:00 UTC
[Gluster-users] Any feature allow to add lock on a file between different apps?
Hello there? I want to know if there is a feature allow user to add lock on a file when their app is modifying that file, so that other apps could use the file when its unlocked. Thanks Lei -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180404/a254f6ac/attachment.html>
Pranith Kumar Karampuri
2018-Apr-06 07:50 UTC
[Gluster-users] Any feature allow to add lock on a file between different apps?
You can use posix-locks i.e. fnctl based advisory locks on glusterfs just like any other fs. On Wed, Apr 4, 2018 at 8:30 AM, Lei Gong <lgong at alauda.io> wrote:> Hello there? > > > > I want to know if there is a feature allow user to add lock on a file when > their app is modifying that file, so that other apps could use the file > when its unlocked. > > > > Thanks > > > > Lei > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users >-- Pranith -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180406/f1ed9691/attachment.html>