]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite0a33270ed0e8e00cbb882a33d21e1f92aac0ceb
tree37879a141c5168577813b318cf825ccc0c97204c
parentdf30d0f4ca3c41b60068232d6de9d58be88436f0
[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