]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS: Don't keep retrying if the server replied NFS4ERR_LAYOUTUNAVAILABLE
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 31 May 2022 15:03:06 +0000 (11:03 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 6 Jun 2022 15:53:54 +0000 (11:53 -0400)
commit44acb698fcf0c5ec69ee39f26ccbb8d7720f5a1b
tree0f926f6f1cb8e60e76af36714a04d34276be01f1
parentcf1710d1388cf5bd81996b258399c4907d27006e
pNFS: Don't keep retrying if the server replied NFS4ERR_LAYOUTUNAVAILABLE

If the server tells us that a pNFS layout is not available for a
specific file, then we should not keep pounding it with further
layoutget requests.

Fixes: b9607ae4fb21 ("pnfs: rework LAYOUTGET retry handling")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/pnfs.c