]> asedeno.scripts.mit.edu Git - linux.git/commit
NFSv4/pnfs: Don't switch off layoutget-on-open for transient errors
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 2 Feb 2017 02:02:07 +0000 (21:02 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:03:11 +0000 (15:03 -0400)
commit8dc96566c0c34b8c2632bc6071dad208d69dd5b0
tree9e6cd721592ecec81794485733d9f9de15877d4d
parentd49e0d5b999621412ffb177f08a1c1746dfb6071
NFSv4/pnfs: Don't switch off layoutget-on-open for transient errors

Ensure that we only switch off the LAYOUTGET operation in the OPEN
compound when the server is truly broken, and/or it is complaining
that the compound is too large.
Currently, we end up turning off the functionality permanently,
even for transient errors such as EACCES or ENOSPC.

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