Skip to content

nfsd4: keep the client from expiring while in use by nfs41 compounds

Benny Halevy linux-nfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 9 repliesIn review
  2. v18 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9nfsd4: rename sessionid_lock to client_lockfs/nfsd/nfs4state.c+14 -120 replies
2/9nfsd4: fold release_session into expire_clientfs/nfsd/nfs4state.c+4 -100 replies
3/9nfsd4: use list_move in move_to_confirmedfs/nfsd/nfs4state.c+1 -20 replies
4/9nfsd4: extend the client_lock to cover cl_lrufs/nfsd/nfs4state.c+26 -150 replies
5/9nfsd4: refactor expire_clientfs/nfsd/nfs4state.c+18 -110 replies
6/9nfsd4: introduce nfs4_client.cl_refcountfs/nfsd/nfs4state.c fs/nfsd/state.h+5 -10 replies
7/9nfsd4: mark_client_expiredfs/nfsd/nfs4state.c fs/nfsd/state.h+23 -10 replies
8/9nfsd4: keep a reference count on client while in usefs/nfsd/nfs4state.c fs/nfsd/nfs4xdr.c fs/nfsd/state.h+27 -49 replies
9/9nfsd4: nfsd4_destroy_session must set callback client under the state lockfs/nfsd/nfs4callback.c fs/nfsd/nfs4state.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/9] nfsd4: keep the client from expiring while in use by nfs41 compounds

Changes since first version:

- move clients to be expired by laundromat to temporary reaplist under the client lock. Then release the lock and expire them without holding the client lock.

- mark clients as expired under the client lock, do not renew clients mark as expired

- fix an existing bug in nfsd4_destroy_session that must take the state lock for clearing the callback client.

[PATCH v2 1/9] nfsd4: rename sessionid_lock to client_lock
[PATCH v2 2/9] nfsd4: fold release_session into expire_client
[PATCH v2 3/9] nfsd4: use list_move in move_to_confirmed
[PATCH v2 4/9] nfsd4: extend the client_lock to cover cl_lru
[PATCH v2 5/9] nfsd4: refactor expire_client
[PATCH v2 6/9] nfsd4: introduce nfs4_client.cl_refcount
[PATCH v2 7/9] nfsd4: mark_client_expired
[PATCH v2 8/9] nfsd4: keep a reference count on client while in use
[PATCH v2 9/9] nfsd4: nfsd4_destroy_session must set callback client under the state lock