Re: [PATCH v5 0/5] sunrpc: hardcode pool_mode to pernode, remove other modes

Chuck Lever <[email protected]>
Newsgroups gmane.linux.nfs,gmane.linux.kernel
Message-ID <178337103119.1752692.17102361450604849930.b4-ty@b4>
On Mon, 06 Jul 2026 09:29:20 -0400, Jeff Layton wrote:
> This has a few small fixes and comment cleanups and also implements
> Neil's suggestion to remove serv.sv_nrpools:
> 
> Patches #1 and #3 address what is a shortcoming of the existing code --
> namely that the server can be configured to schedule RPCs to pools with
> no threads in them.
> 
> [...]

Applied to nfsd-testing, thanks!

[1/5] sunrpc: route to a populated pool in svc_pool_for_cpu()
      commit: abf002b5412b282ce825cf0ada22f0278ae7f408
[2/5] sunrpc: hardcode pool_mode to pernode, remove other modes
      commit: cb4ab2c71e09f8c958ecc7bf07270ae78584f85a
[3/5] sunrpc: guarantee a thread per pool when auto-distributing
      commit: c972bef38717f27c282592bca22890f49233ec0a
[4/5] sunrpc: tear down pool counters before dropping the pool map reference
      commit: 9b6f69571d09627b8b4303be0f257c0e36d9d3fd
[5/5] sunrpc: derive the pool count instead of caching it in sv_nrpools
      commit: 9435623ac560654825a62ee4b628ae4bbaa87920

--
Chuck Lever
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.