pNFS/flexfiles: delete deviceid, don't mark inactive
authorWeston Andros Adamson <dros@primarydata.com>
Wed, 14 Dec 2016 21:31:55 +0000 (16:31 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 19 Dec 2016 22:29:45 +0000 (17:29 -0500)
commit1c48cee83bc2631ab8533311d594aaafe81d8aa9
tree9b6691702266208d85ad4cedc41e403e2ae63f2b
parent187e593d2779fb92ae1de06f873d6e192ba35d88
pNFS/flexfiles: delete deviceid, don't mark inactive

Instead of marking a device inactive, remove it from the cache entirely.

Flexfiles has a way to report errors back to the server, so we don't want
to stop devices from being tried again for 120 seconds.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayoutdev.c