diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-04-29 00:02:37 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-04-29 00:02:37 -0400 |
commit | 37f8aa16da8e9239092429e7a6dadf352897a92d (patch) | |
tree | 569e566fa369423f9067dc872ac1a5e90bbe2af7 /fs/nfs/pnfs_nfs.c | |
parent | bdebfccd0ea6fc00c5ea8c832401111958bd24cf (diff) | |
download | linux-stable-37f8aa16da8e9239092429e7a6dadf352897a92d.tar.gz linux-stable-37f8aa16da8e9239092429e7a6dadf352897a92d.tar.bz2 linux-stable-37f8aa16da8e9239092429e7a6dadf352897a92d.zip |
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>
Diffstat (limited to 'fs/nfs/pnfs_nfs.c')
0 files changed, 0 insertions, 0 deletions