Skip to content

prepare for dynamic server thread management

NeilBrown linux-nfs oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6SUNRPC: move nrthreads counting to start/stop threads.net/sunrpc/svc.c+4 -50 replies
2/6nfsd: return hard failure for OP_SETCLIENTID when there are too many clients.fs/nfsd/nfs4state.c+20 -102 replies
3/6nfs: dynamically adjust per-client DRC slot limits.fs/nfsd/nfs4state.c fs/nfsd/nfs4xdr.c fs/nfsd/nfsd.h +3 more+56 -444 replies
4/6nfsd: don't use sv_nrthreads in connection limiting calculations.fs/nfs/callback.c fs/nfs/callback_xdr.c fs/nfsd/netns.h +4 more+38 -232 replies
5/6sunrpc: remove all connection limit configurationfs/lockd/svc.c fs/nfsd/netns.h fs/nfsd/nfsctl.c +4 more+7 -721 reply
6/6sunrpc: introduce possibility that requested number of threads is different from actualinclude/linux/sunrpc/svc.h net/sunrpc/svc.c net/sunrpc/svcsock.c+20 -101 reply

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 v1 thread

Cover letter [PATCH 0/6] prepare for dynamic server thread management

These patches prepare the way for demand-based adjustment of the number of server threads. They primarily remove some places there the configured thread count is used to configure other things.

With these in place only two more patches are needed to have demand based thread count. The details of how to configure this need to be discussed to ensure we have considered all perspectives, and I would rather than happen in the context of two patches, not in the context of
8. So I'm sending these first in the hope that will land with minimal fuss. Once they do land I'll send the remainder (which you have already seen) and will look forward to a fruitful discussion.

Thanks,
NeilBrown

[PATCH 1/6] SUNRPC: move nrthreads counting to start/stop threads. [PATCH 2/6] nfsd: return hard failure for OP_SETCLIENTID when there [PATCH 3/6] nfs: dynamically adjust per-client DRC slot limits. [PATCH 4/6] nfsd: don't use sv_nrthreads in connection limiting [PATCH 5/6] sunrpc: remove all connection limit configuration [PATCH 6/6] sunrpc: introduce possibility that requested number of