]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] md: Fixed refcounting/locking when attempting read error correction in raid10
authorNeilBrown <neilb@suse.de>
Mon, 1 May 2006 19:15:45 +0000 (12:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 2 May 2006 01:17:42 +0000 (18:17 -0700)
commit4ea9d644d32e4c2077ec5c06f1719c05fd743ab2
tree37879a141c5168577813b318cf825ccc0c97204c
parent9e287b2c2ff8a4eb8151c69b12398799baa80f0a
[PATCH] md: Fixed refcounting/locking when attempting read error correction in raid10

We need to hold a reference to rdevs while reading and writing to attempt to
correct read errors.  This reference must be taken under an rcu lock.

Signed-off-by: Neil Brown <neilb@suse.de>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid10.c