]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS/flexfiles: Don't mark the entire layout as failed, when returning it
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Dec 2015 16:15:05 +0000 (11:15 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 19:32:40 +0000 (14:32 -0500)
commitceb6f39d1659bf84bfe6af800c9e288c55276c39
tree4bf257c06285b9366ed1f88c15cefaf88082de89
parentd7bacee981469edd000e3614c99205eb68e97328
pNFS/flexfiles: Don't mark the entire layout as failed, when returning it

In pNFS/flexfiles, we want to return the layout without necessarily marking
it as having completely failed. We therefore move the call to
pnfs_layout_io_set_failed() out of pnfs_error_mark_layout_for_return(),
and then ensura that pNFS/files layout calls it separately.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/filelayout/filelayout.c
fs/nfs/pnfs.c