Skip to content
Snippets Groups Projects
Commit f0922a6c authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 3eb86093
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment