OSDN Git Service

NFSv4.1/flexfiles: RW layouts are valid only if all mirrors are valid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Sep 2015 09:49:44 +0000 (02:49 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Sep 2015 22:12:11 +0000 (15:12 -0700)
commit81d6dc8b3431d298abaef11d8bc64646fc691618
tree54a73e23f8f032049cc49cc5e6ef4f9b4c4eb04a
parent388ef16640cefd202daa723fba02e7c0266f8454
NFSv4.1/flexfiles: RW layouts are valid only if all mirrors are valid

Unlike read layouts, the writeable layout cannot fall back to using only
one of the mirrors. It need to write to all of them.

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