]> git.ipfire.org Git - thirdparty/linux.git/commit
NFS: CB_OFFLOAD can return NFS4ERR_DELAY
authorChuck Lever <chuck.lever@oracle.com>
Mon, 13 Jan 2025 15:32:36 +0000 (10:32 -0500)
committerAnna Schumaker <anna.schumaker@oracle.com>
Tue, 21 Jan 2025 16:34:50 +0000 (11:34 -0500)
commitd2fc83c5df63f1391006ff7f734bfb794c76badd
treec93c5bef2f2bbb6a27b3c11c83af0c5fa28a780c
parent90190ba1c3b11687e2c251fda1f5d9893b4bab17
NFS: CB_OFFLOAD can return NFS4ERR_DELAY

RFC 7862 permits the callback service to respond to a CB_OFFLOAD
operation with NFS4ERR_DELAY. Use that instead of
NFS4ERR_SERVERFAULT for temporary memory allocation failure, as that
is more consistent with how other operations report memory
allocation failure.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfs/callback_proc.c