NFSv4/pnfs: Allow layoutget to return EAGAIN for softerr mounts
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Sep 2023 23:16:53 +0000 (19:16 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 22 Oct 2023 23:47:56 +0000 (19:47 -0400)
commit6e7434abcd07e8beb67fdc4af6207ae0490d5274
treed3ffd4948d10eb8b97bccb58b22c5651c2614f99
parent5b9d31ae1c925bb5f15975e31b31ff5ae3c81f8f
NFSv4/pnfs: Allow layoutget to return EAGAIN for softerr mounts

If we're using the 'softerr' mount option, we may want to allow
layoutget to return EAGAIN to allow knfsd server threads to return a
JUKEBOX/DELAY error to the client instead of busy waiting.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h
fs/nfs/write.c