linux/fs/nfs/filelayout
Weston Andros Adamson a33e4b036d pNFS: return status from nfs4_pnfs_ds_connect
The nfs4_pnfs_ds_connect path can call rpc_create which can fail or it
can wait on another context to reach the same failure.

This checks that the rpc_create succeeded and returns the error to the
caller.

When an error is returned, both the files and flexfiles layouts will return
NULL from _prepare_ds(). The flexfiles layout will also return the layout
with the error NFS4ERR_NXIO.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2017-03-17 16:07:10 -04:00
..
filelayout.c NFS: Use nfs4_setup_sequence() everywhere 2017-01-30 13:14:50 -05:00
filelayout.h nfs41: move file layout macros to generic pnfs 2015-02-03 11:06:33 -08:00
filelayoutdev.c pNFS: return status from nfs4_pnfs_ds_connect 2017-03-17 16:07:10 -04:00
Makefile Push the file layout driver into a subdirectory 2014-05-29 20:21:56 -04:00