Skip to content

RFC NFSv4.2 OFFLOAD_STATUS for the Linux NFS client

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4NFS: Implement NFSv4.2's OFFLOAD_STATUS XDRfs/nfs/nfs42xdr.c fs/nfs/nfs4xdr.c include/linux/nfs4.h +1 more+103 -10 replies
2/4NFS: Refactor trace_nfs4_offload_cancelfs/nfs/nfs4trace.h+9 -10 replies
3/4NFS: Rename struct nfs4_offloadcancel_datafs/nfs/nfs42proc.c+7 -70 replies
4/4NFS: Implement NFSv4.2's OFFLOAD_STATUS operationfs/nfs/nfs42proc.c fs/nfs/nfs4trace.h include/linux/nfs_fs_sb.h+96 -62 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/4] NFSv4.2 OFFLOAD_STATUS for the Linux NFS client

From: Chuck Lever <[email protected]>

Async COPY operations will wait indefinitely if the CB_OFFLOAD is lost. Fix this by using OFFLOAD_STATUS to periodically check the progress of the COPY.

This is compile-tested only. Looking for review and testing.

IMO the only controversial part is how OFFLOAD_STATUS will handle situations where the server is temporarily unreachable. Right now I've set RPC_TASK_SOFTCONN so the RPC is dropped immediately, and the COPY operation should simply go back to waiting another few seconds.

Chuck Lever (4):
NFS: Implement NFSv4.2's OFFLOAD_STATUS XDR
NFS: Refactor trace_nfs4_offload_cancel
NFS: Rename struct nfs4_offloadcancel_data
NFS: Implement NFSv4.2's OFFLOAD_STATUS operation

 fs/nfs/nfs42proc.c        | 114 +++++++++++++++++++++++++++++++++-----
 fs/nfs/nfs42xdr.c         | 101 ++++++++++++++++++++++++++++++++-
 fs/nfs/nfs4trace.h        |  11 +++-
 fs/nfs/nfs4xdr.c          |   1 +
 include/linux/nfs4.h      |   1 +
 include/linux/nfs_fs_sb.h |   1 +
 include/linux/nfs_xdr.h   |   1 +
 7 files changed, 215 insertions(+), 15 deletions(-)

base-commit: e67572cd2204894179d89bd7b984072f19313b03

Signature · 1 line
2.44.0