On Tue, 22 Sep 2026 07:34:01 -0400, Jeff Layton wrote:
> Currently much of nfsd's administration is serialized under the global
> nfsd_mutex, even though most of the objects managed under it are
> segregated by net namespace.
>
> This patchset does a couple of small cleanups and then adds a new
> per-net mutex and moves all of the appropriate per-net data structures
> to be protected by it instead of the global mutex. The filecache is
> given its own mutex, and the global mutex is renamed and left for
> managing just the few remaning global objects.
>
> [...]
Applied to nfsd-testing, thanks!
[1/8] nfsd: clear NFSD_NET_UP before dropping the generic resource reference
commit: 77881893d52fc4ac737bd55727eca54cb95d6002
[2/8] nfsd: make max_blksize a per-namespace setting
commit: 4a29b69535eb2778255634b795ad9c026269a95f
[3/8] nfsd: move the control plane to a per-namespace mutex
commit: 88815584b68611c3eeb6f536b8dc1f4a2274c129
[4/8] nfsd: rename nfsd_mutex to nfsd_global_mutex
commit: 828e48566b8145969f93df212628349e4d2849d0
[5/8] nfsd: give the open file cache its own mutex
commit: 4ad8170fd7287fbf7adc493c785a284fe213065f
[6/8] selftests/nfsd: factor the netlink plumbing into a shared header
commit: e99f6a7157acd18cda500c2bcbb17761ecfede3f
[7/8] selftests/nfsd: add cross-namespace isolation tests
commit: 20801469b68a678a06b51592a1f90cb018983cf9
[8/8] selftests/nfsd: add a cross-namespace control-plane soak
commit: a55e35036b7e984e601264565c767a23582c2175
--
Chuck Lever