Thread (29 messages) flat view 29 messages, 5 authors, 2021-04-11

Re: [PATCH v4] flock.2: add CIFS details

From: Tom Talpey <tom@talpey.com>
Date: 2021-03-11 20:42:38
Also in: linux-fsdevel, linux-man

On 3/11/2021 12:45 PM, Aurélien Aptel wrote:
Tom Talpey [off-list ref] writes:
quoted
and simply state (perhaps)

   "Remote and mandatory locking semantics may vary with SMB protocol,
    mount options and server type. See mount.cifs(8) for additional
    information."
This would be the complete addition to the man page? I feel like we
Only replacing the last sentence, which I quoted earlier.
should at least say it is *likely* that:
- locks will be mandatory
- flock() is emulated via fnctl() and so they interact with each other

Which are the 2 aspects that really diverges from the expected behaviour
of flock() and likely to hit people in the wild. Mentionning this will
send people trying to debug their app in the right direction.
Ok, and agreed. SMB lock semantics are certainly important to describe.

Tom.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help