]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs: Fix a problem where we gratuitously start doing I/O through the MDS
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 18 Jul 2019 19:33:42 +0000 (15:33 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 18 Jul 2019 19:33:42 +0000 (15:33 -0400)
commita448d421cf98d4a01521d7b39421c958c5d5f702
tree2f59406cf2d41b31d5b3c7e761b9d14185ab3b79
parent4b4857de57348e8bc2e1402d93d6464929c042b9
pnfs: Fix a problem where we gratuitously start doing I/O through the MDS

If the client has to stop in pnfs_update_layout() to wait for another
layoutget to complete, it currently exits and defaults to I/O through
the MDS if the layoutget was successful.

Fixes: faeee6d4ba15 ("pNFS: Ensure we return the error if someone kills...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v4.20+
fs/nfs/pnfs.c