[PATCH v2 01/31] Documentation: document EXPORT_OP_NOLOCKS
Christoph Hellwig
hch at infradead.org
Mon Jan 19 23:44:23 PST 2026
On Mon, Jan 19, 2026 at 11:26:18AM -0500, Jeff Layton wrote:
> + EXPORT_OP_NOLOCKS - Disable file locking on this filesystem. Some
> + filesystems cannot properly support file locking as implemented by
> + nfsd. A case in point is reexport of NFS itself, which can't be done
> + safely without coordinating the grace period handling. Other clustered
> + and networked filesystems can be problematic here as well.
I'm not sure this is very useful. It really needs to document what
locking semantics nfs expects, because otherwise no reader will know
if they set this or not.
More information about the linux-mtd
mailing list