]> 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)
commit71c08b152e24f8eeca7795c040c6527fed17ca63
tree9e6cd721592ecec81794485733d9f9de15877d4d
parentc303a3f72ce87ce8abed639d0e84480e1bc576b8
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