]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit234550740dcb3e93b0bb30ff038e5c98006b169a
treeaaa1378f2ccd2725562c8f66d2a75950902a4a89
parent4106b84cfddc039a40d79ee4b811aa63f2a837d2
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