]> git.baikalelectronics.ru Git - kernel.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)
commitd2b446b82e54cc4d1683002fad2491c4db0c150e
tree9d4c5082fab8a1d2d31cf5953db7bd766822276d
parent518171c1f895adc1cf3356ad55fb65cc3aaa044b
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