diff options
author | 2015-09-01 00:58:24 -0700 | |
---|---|---|
committer | 2015-09-01 15:12:11 -0700 | |
commit | 889d94d49a3cbcbc8c8d07208549fa614d33da76 (patch) | |
tree | 7ae765e583577b05cd0628fc96ff177d07a33eb0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NFSv4.1/flexfiles: RW layouts are valid only if all mirrors are valid (diff) | |
download | wireguard-linux-889d94d49a3cbcbc8c8d07208549fa614d33da76.tar.xz wireguard-linux-889d94d49a3cbcbc8c8d07208549fa614d33da76.zip |
NFSv4.1/flexfiles: Mark layout for return if the mirrors are invalid
If a read-write layout has an invalid mirror, then we should
mark it as invalid, and return it.
If a read-only layout has an invalid mirror, then mark it as invalid
and check if there is still at least one valid mirror before we return
it.
Note: Also fix incorrect use of pnfs_generic_mark_devid_invalid().
We really want nfs4_mark_deviceid_unavailable().
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions