pNFS: Wait for stale layoutget calls to complete in pnfs_update_layout()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 24 Jun 2018 02:54:33 +0000 (22:54 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 26 Jul 2018 20:25:25 +0000 (16:25 -0400)
commit411ae722d10a6d4eece758877eb5f395b35f6e9d
tree9fdd252dfb751db5fd68559ed543666c68e8b998
parent056f9ad62ed2776c80fdddb2eec7f709888618b7
pNFS: Wait for stale layoutget calls to complete in pnfs_update_layout()

If the old layout was recalled, and we returned NFS4ERR_NOMATCHINGLAYOUT
then we need to wait for all outstanding layoutget calls to complete
before we can send a new one.

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