From bc7e55aee064c06709dcc3cb329158cb6b75f935 Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Sun, 31 Jul 2016 19:39:11 +0100 Subject: Implemented --enable-lock-forwarding. This should address #36. --- src/bindfs.1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/bindfs.1') diff --git a/src/bindfs.1 b/src/bindfs.1 index fd2095d..f74cfc8 100644 --- a/src/bindfs.1 +++ b/src/bindfs.1 @@ -315,6 +315,23 @@ In other words, only content modifications (as opposed to metadata changes) will be reflected in a mirrored file's ctime. The underlying file's ctime will still be updated normally. +.TP +.B \-\-enable\-lock\-forwarding, \-o enable\-lock\-forwarding +Forwards \fBflock\fP and \fBfcntl\fP locking requests to the source directory. +This way, locking a file in the bindfs mount will also lock the file in the +source directory. + +This option \fBmust\fP be used with \fB\-\-multithreaded\fP because otherwise +bindfs will deadlock as soon as there is lock contention. However, see +\fB\%BUGS\fP below for caveats about \fB\-\-multithreaded\fP with the current +implementation. + +.TP +.B \-\-disable\-lock\-forwarding, \-o disable\-lock\-forwarding +Currently does nothing, but a future release may default to enabling lock +forwarding. If you depend on this behaviour, it's recommended to set this flag +explicitly. + .TP .B \-\-enable\-ioctl, \-o enable\-ioctl Enables forwarding of ioctl, which is needed for some advanced features such as -- cgit v1.2.3