Skip to content

nfsd: lease handling cleanups

Jeff Layton linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nfsd: protect lease-related nfs4_file fields with fi_lockfs/nfsd/nfs4state.c+13 -90 replies
2/3nfsd: call nfs4_put_deleg_lease outside of state_lockfs/nfsd/nfs4state.c+5 -10 replies
3/3nfsd: allow find_any_file to return a fi_deleg_file referencefs/nfsd/nfs4state.c+14 -55 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] nfsd: lease handling cleanups

This patchset represents some small-ish lease-handling cleanups. In particular, it moves the vfs_setlease F_UNLCK call out from under any spinlocks, which is necessary for eventually allowing ->setlease methods to block.

These aren't strictly bugfixes, so they can probably wait until v3.18 if needed.

Jeff Layton (3):
nfsd: protect lease-related nfs4_file fields with fi_lock
nfsd: call nfs4_put_deleg_lease outside of state_lock
nfsd: allow find_any_file to return a fi_deleg_file reference

 fs/nfsd/nfs4state.c | 45 +++++++++++++++++++++++++++++++--------------
 1 file changed, 31 insertions(+), 14 deletions(-)
Signature · 1 line
1.9.3