]> 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)
commitd9d8ca3dfb598fd7b044473724169ffc390469e3
treeaaa1378f2ccd2725562c8f66d2a75950902a4a89
parentb15cdbea7fc3fd0df73a238c50457e80dc8c17d5
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