]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFSD: Handle an NFS4ERR_DELAY response to CB_OFFLOAD
authorChuck Lever <chuck.lever@oracle.com>
Thu, 31 Oct 2024 13:40:05 +0000 (09:40 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 19 Nov 2024 01:23:10 +0000 (20:23 -0500)
commit5c41f321470a5400641d3a271014ddd9b9868373
tree5d957d5943cf1989e7bb0c9d2ea1cd1a437a9b57
parent409d6f52bd6b4fb43fbb4db9daeb5022e2e1d00c
NFSD: Handle an NFS4ERR_DELAY response to CB_OFFLOAD

RFC 7862 permits callback services to respond to CB_OFFLOAD with
NFS4ERR_DELAY. Currently NFSD drops the CB_OFFLOAD in that case.

To improve the reliability of COPY offload, NFSD should rather send
another CB_OFFLOAD completion notification.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4proc.c
fs/nfsd/xdr4.h