NFS: Add a module option to disable directory delegations
authorAnna Schumaker <anna.schumaker@oracle.com>
Tue, 4 Nov 2025 15:06:45 +0000 (10:06 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 23 Nov 2025 21:01:47 +0000 (16:01 -0500)
commitb6d2a520f4638c2e7d3f2f11946918946941be18
treeddf49a1f7a673d8c1a3e5641f75171c4b3fd55a7
parent669c0580ac3757cad4dd16fd7dcb08cfc2abda56
NFS: Add a module option to disable directory delegations

When this option is disabled then the client will not request directory
delegations or check if we have one during the revalidation paths.

Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/delegation.c
fs/nfs/delegation.h
fs/nfs/nfs4proc.c