Skip to content

nfsd: allocate/free session-based DRC slots on demand

NeilBrown linux-nfs 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 6 repliesIn review
  2. v46 patches 5 repliesSuperseded
  3. v36 patches 8 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 RFC6 patches28 repliesSuperseded
v1 RFC4 patches11 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nfsd: use an xarray to store v4.1 session slotsfs/nfsd/nfs4state.c fs/nfsd/state.h+24 -130 replies
2/6nfsd: remove artificial limits on the session-based DRCfs/nfsd/nfs4state.c fs/nfsd/nfsd.h fs/nfsd/nfssvc.c+16 -1130 replies
3/6nfsd: add session slot count to /proc/fs/nfsd/clients/*/infofs/nfsd/nfs4state.c+8 -00 replies
4/6nfsd: allocate new session-based DRC slots on demand.fs/nfsd/nfs4state.c+32 -50 replies
5/6nfsd: add support for freeing unused session-DRC slotsfs/nfsd/nfs4state.c fs/nfsd/nfs4xdr.c fs/nfsd/state.h +1 more+92 -156 replies
6/6nfsd: add shrinker to reduce number of slots allocated per sessionfs/nfsd/nfs4state.c fs/nfsd/state.h+73 -50 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchJeff Layton
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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 0/6 v5] nfsd: allocate/free session-based DRC slots on demand

Differences from v4:
- added Jeff's Reviewed-by - thanks.
- fixed problem in final patch. There are two places where a session can be detached from lists and both need to detach from the new global list.

Thanks,
NeilBrown

[PATCH 1/6] nfsd: use an xarray to store v4.1 session slots [PATCH 2/6] nfsd: remove artificial limits on the session-based DRC [PATCH 3/6] nfsd: add session slot count to
[PATCH 4/6] nfsd: allocate new session-based DRC slots on demand. [PATCH 5/6] nfsd: add support for freeing unused session-DRC slots [PATCH 6/6] nfsd: add shrinker to reduce number of slots allocated