Skip to content

Implement referring call lists for CB_OFFLOAD

[email protected] linux-nfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 8 repliesIn review
  2. v1 RFC3 patches 1 replySuperseded

Changes since RFC from the cover letter

- Add a field to struct nfsd4_slot that records its table index
- Include a few additional COPY-related fixes
- Some operational testing has been done

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5NFSD: OFFLOAD_CANCEL should mark an async COPY as completedfs/nfsd/nfs4proc.c+4 -12 replies
2/5NFSD: Shorten CB_OFFLOAD response to NFS4ERR_DELAYfs/nfsd/nfs4proc.c+1 -11 reply
3/5NFSD: Implement CB_SEQUENCE referring call listsfs/nfsd/nfs4callback.c fs/nfsd/state.h fs/nfsd/xdr4cb.h+153 -62 replies
4/5NFSD: Record each NFSv4 call's session slot indexfs/nfsd/nfs4state.c fs/nfsd/state.h+22 -170 replies
5/5NFSD: Use a referring call list for CB_OFFLOADfs/nfsd/nfs4proc.c fs/nfsd/xdr4.h+13 -00 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJeff Layton
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Implement referring call lists for CB_OFFLOAD

From: Chuck Lever <[email protected]>

I've built a naive proof-of-concept of the csa_referring_call_list argument of the CB_SEQUENCE operation, and hooked it up for the CB_OFFLOAD callback operation.

This has been pushed to my kernel.org "fix-async-copy" branch for folks to play around with.

I've done some basic testing with a server that ensures the CB_OFFLOAD callback is sent before the COPY reply, while running a network capture. Operation appears correct, Wireshark is happy with the construction of the XDR, and the CB_SEQUENCE arguments match the SEQUENCE operation in the COPY COMPOUND.

I'd like to include this series in nfsd-testing.

Changes since RFC:
- Add a field to struct nfsd4_slot that records its table index
- Include a few additional COPY-related fixes
- Some operational testing has been done

Chuck Lever (5):
NFSD: OFFLOAD_CANCEL should mark an async COPY as completed
NFSD: Shorten CB_OFFLOAD response to NFS4ERR_DELAY
NFSD: Implement CB_SEQUENCE referring call lists
NFSD: Record each NFSv4 call's session slot index
NFSD: Use a referring call list for CB_OFFLOAD

 fs/nfsd/nfs4callback.c | 132 +++++++++++++++++++++++++++++++++++++++--
 fs/nfsd/nfs4proc.c     |  16 ++++-
 fs/nfsd/nfs4state.c    |  38 ++++++------
 fs/nfsd/state.h        |  23 +++++++
 fs/nfsd/xdr4.h         |   4 ++
 fs/nfsd/xdr4cb.h       |   5 +-
 6 files changed, 193 insertions(+), 25 deletions(-)
Signature · 1 line
2.47.0