]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
pNFS/flexfiles: never nfs4_mark_deviceid_unavailable
authorWeston Andros Adamson <dros@monkey.org>
Thu, 9 Mar 2017 17:56:49 +0000 (12:56 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 17 Mar 2017 20:07:17 +0000 (16:07 -0400)
commitda066f3f039eba3e72e97b2ccad0dd8b45ba84bd
tree9d4c5082fab8a1d2d31cf5953db7bd766822276d
parenta33e4b036d4612f62220f37a9fa29d273b6fd0ca
pNFS/flexfiles: never nfs4_mark_deviceid_unavailable

The flexfiles layout should never mark a device unavailable.

Move nfs4_mark_deviceid_unavailable out of nfs4_pnfs_ds_connect and call
directly from files layout where it's still needed.

The flexfiles driver still handles marked devices in error paths, but will
now print a rate limited warning.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/filelayout/filelayoutdev.c
fs/nfs/flexfilelayout/flexfilelayout.h
fs/nfs/flexfilelayout/flexfilelayoutdev.c
fs/nfs/pnfs_nfs.c