diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-09-01 00:58:24 -0700 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-09-01 15:12:11 -0700 |
commit | 889d94d49a3cbcbc8c8d07208549fa614d33da76 (patch) | |
tree | 7ae765e583577b05cd0628fc96ff177d07a33eb0 /samples | |
parent | 81d6dc8b3431d298abaef11d8bc64646fc691618 (diff) | |
download | linux-889d94d49a3cbcbc8c8d07208549fa614d33da76.tar.bz2 |
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 'samples')
0 files changed, 0 insertions, 0 deletions