]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf8f3c1934b5fc6e9348e2353c37349f5f2214cc3
tree56e33efead2809440328da65174b44eb0a8b25c6
parent667f175f4696f53bb54b484c3c110f6d38a66027
[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