]> 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)
commit5c3364efd67b2b6b0d943731a6ca6ccec9ece10d
tree9d4c5082fab8a1d2d31cf5953db7bd766822276d
parent320cff4de336a4c1543c2b1757a45d965555b9ae
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