diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-11-02 15:59:00 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-11-02 19:50:37 +0100 |
commit | 260074cd8413489903d4484058e61649d6e08580 (patch) | |
tree | aa4b89ce7367791def57c172ddeb5dcf5bbdec2b /fs/btrfs/transaction.h | |
parent | pNFS/flexfiles: When mirrored, retry failed reads by switching mirrors (diff) | |
download | linux-260074cd8413489903d4484058e61649d6e08580.tar.xz linux-260074cd8413489903d4484058e61649d6e08580.zip |
pNFS/flexfiles: Add support for FF_FLAGS_NO_IO_THRU_MDS
For loosely coupled pNFS/flexfiles systems, there is often no advantage
at all in going through the MDS for I/O, since the MDS is subject to
the same limitations as all other clients when talking to DSes. If a
DS is unresponsive, I/O through the MDS will fail.
For such systems, the only scalable solution is to have the pNFS clients
retry doing pNFS, and so the protocol now provides a flag that allows
the pNFS server to signal this.
If LAYOUTGET returns FF_FLAGS_NO_IO_THRU_MDS, then we should assume that
the MDS wants the client to retry using these devices, even if they were
previously marked as being unavailable. To do so, we add a helper,
ff_layout_mark_devices_valid() that will be called from layoutget.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/btrfs/transaction.h')
0 files changed, 0 insertions, 0 deletions