summaryrefslogtreecommitdiffstats
path: root/Documentation/md.txt
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-04-24 03:42:42 +0200
committerNeilBrown <neilb@suse.de>2013-04-24 03:42:42 +0200
commitc0b32972fb1e1110101702f096c0877afcab9f1d (patch)
tree81f552bbd3db1a76b6c209e70bd0f141c3986bd4 /Documentation/md.txt
parentmd/raid5: Change or of some order to improve efficiency. (diff)
downloadlinux-c0b32972fb1e1110101702f096c0877afcab9f1d.tar.xz
linux-c0b32972fb1e1110101702f096c0877afcab9f1d.zip
md/raid5: avoid an extra write when writing to a known-bad-block.
If we write to a known-bad-block it will be flags as having a ReadError by analyse_stripe, but the write will proceed anyway (as it should). Then the read-error handling will kick in an write again, then re-read. We don't need that 'write-again', so set R5_ReWrite so it looks like it has already been done. Then we will just get the re-read, which we want. Reported-by: majianpeng <majianpeng@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Documentation/md.txt')
0 files changed, 0 insertions, 0 deletions