diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-02-10 22:38:43 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-03-01 22:37:37 -0500 |
commit | f0922a6c0cdb928d21c2599f9671206237e7e505 (patch) | |
tree | b92dd290a1e68aeb69f07082299260418f194810 /kernel/kcmp.c | |
parent | 3eb86093ea400c58f444eac0debcf6c50d617418 (diff) |
NFS/flexfiles: Send LAYOUTERROR when failing over mirrored reads
When a read to the preferred mirror returns an error, the flexfiles
driver records the error in the inode list and currently marks the
layout for return before failing over the attempted read to the next
mirror.
What we actually want to do is fire off a LAYOUTERROR to notify the
MDS that there is an issue with the preferred mirror, then we fail
over. Only once we've failed to read from all mirrors should we
return the layout.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'kernel/kcmp.c')
0 files changed, 0 insertions, 0 deletions