Skip to content

RFC improve some nfsd_mutex locking

NeilBrown linux-nfs llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nfsd: provide proper locking for all write_ functionfs/nfsd/nfsctl.c+77 -381 reply
2/3nfsd: use kref and new mutex for global config managementfs/nfsd/export.c fs/nfsd/filecache.c fs/nfsd/nfsd.h +1 more+41 -402 replies
3/3nfsd: split nfsd_mutex into one mutex per net-namespace.Documentation/admin-guide/nfs/nfsd-admin-interfaces.rst fs/nfsd/nfsctl.c fs/nfsd/nfsd.h +3 more+72 -831 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchJeff Layton
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3 RFC] improve some nfsd_mutex locking

The first patch hopefully fixes a bug with locking: some write_foo functions aren't locked properly.

The other two improve the locking code, particulary so that we don't need a global mutex to change per-netns data.

NeilBrown

[PATCH 1/3] nfsd: provide proper locking for all write_ function [PATCH 2/3] nfsd: use kref and new mutex for global config management [PATCH 3/3] nfsd: split nfsd_mutex into one mutex per net-namespace.