mbox series

[0/6,v4] nfsd: allocate/free session-based DRC slots on demand

Message ID 20241208224629.697448-1-neilb@suse.de (mailing list archive)
Headers show
Series nfsd: allocate/free session-based DRC slots on demand | expand

Message

NeilBrown Dec. 8, 2024, 10:43 p.m. UTC
Changes from v3 include:
 - use GFP_NOWAIT more consistently - don't use GFP_ATOMIC
 - document reduce_session_slots()
 - change sl_generation to u16.  As we reduce the number of slots one at
   a time and update se_slot_gen each time, we could cycle a u8 generation
   counter quickly.

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

Comments

Jeff Layton Dec. 9, 2024, 2:49 p.m. UTC | #1
On Mon, 2024-12-09 at 09:43 +1100, NeilBrown wrote:
> Changes from v3 include:
>  - use GFP_NOWAIT more consistently - don't use GFP_ATOMIC
>  - document reduce_session_slots()
>  - change sl_generation to u16.  As we reduce the number of slots one at
>    a time and update se_slot_gen each time, we could cycle a u8 generation
>    counter quickly.
> 
> 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

Reviewed-by: Jeff Layton <jlayton@kernel.org>