Skip to content

nfsd: support admin-revocation of v4 state

NeilBrown linux-nfs 7 versions – Applied

Status from this message: Applied to nfsd-next (for v6.9). Review comments still welcome.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest13 patches 4 repliesApplied
  2. v4 posting 3/313 patches 12 repliesSuperseded
  3. v4 posting 2/311 patches 10 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v4 posting 1/311 patches2 repliesSuperseded
v39 patches21 repliesSuperseded
v26 patches17 repliesSuperseded
v16 patches2 repliesSuperseded

Changes in v5 from the cover letter

- rebased on nfsd-next. There was a new trace point which caused a conflict
- added some reviewed-by from Jeff
- Fix the new kdoc comment - kernel test robot reported I had the wrong syntax for documenting function parameters.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/13nfsd: remove stale comment in nfs4_show_deleg()fs/nfsd/nfs4state.c+0 -10 replies
2/13nfsd: hold ->cl_lock for hash_delegation_locked()fs/nfsd/nfs4state.c+3 -00 replies
3/13nfsd: don't call functions with side-effecting inside WARN_ON()fs/nfsd/nfs4state.c+5 -50 replies
4/13nfsd: avoid race after unhash_delegation_locked()fs/nfsd/nfs4state.c+10 -100 replies
5/13nfsd: split sc_status out of sc_typefs/nfsd/nfs4layouts.c fs/nfsd/nfs4state.c fs/nfsd/state.h +1 more+151 -1410 replies
6/13nfsd: prepare for supporting admin-revocation of statefs/nfsd/nfs4state.c fs/nfsd/nfsctl.c fs/nfsd/nfsd.h +2 more+98 -20 replies
7/13nfsd: allow state with no file to appear in /proc/fs/nfsd/clients/*/statesfs/nfsd/nfs4state.c+58 -600 replies
8/13nfsd: report in /proc/fs/nfsd/clients/*/states when state is admin-revokefs/nfsd/nfs4state.c+9 -10 replies
9/13nfsd: allow admin-revoked NFSv4.0 state to be freed.fs/nfsd/netns.h fs/nfsd/nfs4state.c+101 -10 replies
10/13nfsd: allow lock state ids to be revoked and then freedfs/nfsd/nfs4state.c+39 -10 replies
11/13nfsd: allow open state ids to be revoked and then freedfs/nfsd/nfs4state.c+24 -10 replies
12/13nfsd: allow delegation state ids to be revoked and then freedfs/nfsd/nfs4state.c+25 -30 replies
13/13nfsd: allow layout state to be admin-revoked.fs/nfsd/blocklayout.c fs/nfsd/nfs4layouts.c fs/nfsd/nfs4state.c +1 more+50 -163 replies

Reviews trailers per patch

11 of 13 patches have a Reviewed-by or Acked-by.

PatchJeff Layton
1/13
2/13R-b
3/13R-b
4/13R-b
5/13R-b
6/13R-b
7/13R-b
8/13R-b
9/13R-b
10/13R-b
11/13R-b
12/13R-b
13/13

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

Read the v5 thread

Cover letter [PATCH 00/13 v5] nfsd: support admin-revocation of v4 state

Changes compared to V4:
- rebased on nfsd-next. There was a new trace point which caused a conflict
- added some reviewed-by from Jeff
- Fix the new kdoc comment - kernel test robot reported I had the wrong syntax for documenting function parameters.

Thanks,
NeilBrown

[PATCH 01/13] nfsd: remove stale comment in nfs4_show_deleg() [PATCH 02/13] nfsd: hold ->cl_lock for hash_delegation_locked() [PATCH 03/13] nfsd: don't call functions with side-effecting inside [PATCH 04/13] nfsd: avoid race after unhash_delegation_locked() [PATCH 05/13] nfsd: split sc_status out of sc_type
[PATCH 06/13] nfsd: prepare for supporting admin-revocation of state [PATCH 07/13] nfsd: allow state with no file to appear in [PATCH 08/13] nfsd: report in /proc/fs/nfsd/clients/*/states when [PATCH 09/13] nfsd: allow admin-revoked NFSv4.0 state to be freed. [PATCH 10/13] nfsd: allow lock state ids to be revoked and then freed [PATCH 11/13] nfsd: allow open state ids to be revoked and then freed [PATCH 12/13] nfsd: allow delegation state ids to be revoked and then [PATCH 13/13] nfsd: allow layout state to be admin-revoked.