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)
commitfe44fb23d6ccde4c914c44ef74ab8d9d9ba02bea
tree0f926f6f1cb8e60e76af36714a04d34276be01f1
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
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: 183d9e7b112a ("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