pNFS/files: Fall back to I/O through the MDS on non-fatal layout errors
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 14 May 2022 14:08:13 +0000 (10:08 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2022 16:53:33 +0000 (12:53 -0400)
commit126966ddedb60bb7bf9f3b341e26ca8ef1019efc
tree79629ac7416ee7420b83660b8c1e1155e5512904
parentc6fd3511c3397dd9cbc6dc5d105bbedb69bf4061
pNFS/files: Fall back to I/O through the MDS on non-fatal layout errors

Only report the error when the server is returning a fatal error, such
as ESTALE, EIO, etc...

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/filelayout/filelayout.c