commit | 37f8aa16da8e9239092429e7a6dadf352897a92d | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Sat Apr 29 00:02:37 2017 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Sat Apr 29 00:02:37 2017 -0400 |
tree | 569e566fa369423f9067dc872ac1a5e90bbe2af7 | |
parent | bdebfccd0ea6fc00c5ea8c832401111958bd24cf [diff] |
pNFS/flexfiles: Fix up the ff_layout_write_pagelist failure path If the attempt to write through pNFS fails, we need to use the same failure semantics as for the read path: If the FF_FLAGS_NO_IO_THRU_MDS flag is set or we have sufficient valid DSes, then we must retry through pNFS Fixes: d67ae825a59d ("pnfs/flexfiles: Add the FlexFile Layout Driver") Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>