linux/fs/nfs/flexfilelayout
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
..
flexfilelayout.c pNFS/flexfiles: If the layout is invalid, it must be updated before retrying 2017-02-22 10:49:37 -05:00
flexfilelayout.h pNFS/flexfiles: Ensure we have enough buffer for layoutreturn 2016-12-09 20:26:59 -05:00
flexfilelayoutdev.c pNFS: return status from nfs4_pnfs_ds_connect 2017-03-17 16:07:10 -04:00
Makefile