commit | e0a33270ed0e8e00cbb882a33d21e1f92aac0ceb | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon May 01 12:15:45 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon May 01 18:17:42 2006 -0700 |
tree | 37879a141c5168577813b318cf825ccc0c97204c | |
parent | df30d0f4ca3c41b60068232d6de9d58be88436f0 [diff] |
[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>