[PATCH] md: make 'repair' actually work for raid1
authorNeilBrown <neilb@suse.de>
Fri, 26 Jan 2007 08:57:01 +0000 (00:57 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 21:50:59 +0000 (13:50 -0800)
commit3eda22d19b76b15ef3420b251bd47a0ba0127589
tree56e33efead2809440328da65174b44eb0a8b25c6
parent524418bb8ecd3dfd2975bc0aa3c2cc7e8e081f24
[PATCH] md: make 'repair' actually work for raid1

When 'repair' finds a block that is different one the various parts of the
mirror.  it is meant to write a chosen good version to the others.  However it
currently writes out the original data to each.  The memcpy to make all the
data the same is missing.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/raid1.c