summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-12-23 03:17:54 +0400
committerNeilBrown <neilb@suse.de>2011-12-23 03:17:54 +0400
commitabbf098e6e1e23d5d247b9eaaf325e67f67b0328 (patch)
treee2d8dc88c99ecc14d6d87596d95b3de9b9dc87c9 /samples
parent96c3fd1f3802371610c620cff03f9d825707e80e (diff)
downloadlinux-abbf098e6e1e23d5d247b9eaaf325e67f67b0328.tar.xz
md/raid10: preferentially read from replacement device if possible.
When reading (for array reads, not for recovery etc) we read from the replacement device if it has recovered far enough. This requires storing the chosen rdev in the 'r10_bio' so we can make sure to drop the ref on the right device when the read finishes. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions