OSDN Git Service

pNFS/flexfiles: ff_layout_pg_init_read should exit on error
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 21 Aug 2018 14:25:33 +0000 (10:25 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 21 Aug 2018 17:39:05 +0000 (13:39 -0400)
commit1c1aeaf1432f51b57341741dcb76a3825d63a168
tree66a3efccd02839a15a60f3b975fe739f321295ce
parentea51f94b45a0fd657c61206c1b648cc72f95befa
pNFS/flexfiles: ff_layout_pg_init_read should exit on error

If we get an error while retrieving the layout, then we should
report it rather than falling back to I/O through the MDS.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/flexfilelayout/flexfilelayout.c