LOCALIO: don't recall a localio client's own delegations
Get series with b4
b4 am [email protected] change-id 20261204-localio-deleg-d07d4e7ee937Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | NFSD: don't recall a LOCALIO client's own delegationsfs/ fs/ fs/ +4 more | +120 | 0 replies | |
| 2/3 | NFS: tell nfsd which client a LOCALIO open is forfs/ fs/ fs/ +4 more | +53 | 0 replies | |
| 3/3 | pNFS/flexfiles: tell nfsd which client a LOCALIO data server open is forfs/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] LOCALIO: don't recall a localio client's own delegations
This patchset fixes an issue with localio: namely that localio opens break the the client's own lease. Because that open is done from the client's context, we can't rely on looking at whether it's an nfsd thread.
Thus we need to do a bit of extra tracking in the server to keep track of tasks in localio. The first patch adds this. The second and third patches make the localio callers in the client pass in the right info to vet the lease holder and breaker.
This is a combined client and server patchset, but most of the changes are in nfsd, so this should probably go in via Chuck's tree.
Please consider for v7.6!
---
Jeff Layton (3):
NFSD: don't recall a LOCALIO client's own delegations
NFS: tell nfsd which client a LOCALIO open is for pNFS/flexfiles: tell nfsd which client a LOCALIO data server open is for
fs/nfs/flexfilelayout/flexfilelayout.c | 10 ++++- fs/nfs/internal.h | 7 +-- fs/nfs/localio.c | 39 +++++++++++++---- fs/nfs/pagelist.c | 2 +- fs/nfs/write.c | 3 +- fs/nfs_common/nfslocalio.c | 13 +++++- fs/nfsd/localio.c | 14 +++++- fs/nfsd/netns.h | 3 ++ fs/nfsd/nfs4state.c | 78 ++++++++++++++++++++++++++++++++++ fs/nfsd/nfsctl.c | 2 + fs/nfsd/state.h | 22 ++++++++++ include/linux/nfslocalio.h | 5 ++- 12 files changed, 179 insertions(+), 19 deletions(-)
---
base-commit: eb76c146d6facf9588b6c1da360e2db41cdda335
change-id: 20261204-localio-deleg-d07d4e7ee937
Best regards,
Signature · 1 line
Jeff Layton <[email protected]>