NFS/flexfiles: refactor calls to fs4_ff_layout_prepare_ds()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 14 Feb 2019 18:45:45 +0000 (13:45 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 03:37:37 +0000 (22:37 -0500)
commit2444ff277a686d743b5479dd52d8357c21d5ce13
treeaaa1378f2ccd2725562c8f66d2a75950902a4a89
parent18c0778a650b21f8729576b7bc382447d2027d4d
NFS/flexfiles: refactor calls to fs4_ff_layout_prepare_ds()

While we may want to skip attempting to connect to a downed mirror
when we're deciding which mirror to select for a read, we do not
want to do so once we've committed to attempting the I/O in
ff_layout_read/write_pagelist(), or ff_layout_initiate_commit()

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