]> git.baikalelectronics.ru Git - kernel.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)
commit4622e54c6270ab5e4747c25f7b69fa5beff473e4
tree9e6cd721592ecec81794485733d9f9de15877d4d
parentd3327d45071e9b8f4f209611538aac14b1d583ae
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