NFS/flexfiles: Speed up read failover when DSes are down
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 14 Feb 2019 22:32:40 +0000 (17:32 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 03:37:38 +0000 (22:37 -0500)
commit76c6690522bb3e335ce1e201360df8776cab4d2c
treeade5acb43b8b1a85e6c85f032e0c1632b1bf6eee
parent17aaec816751d77e443dee66d11d9e6ac00ac95c
NFS/flexfiles: Speed up read failover when DSes are down

If we notice that a DS may be down, we should attempt to read from the
other mirrors first before we go back to retry the dead DS.

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