diff options
author | NeilBrown <neilb@suse.de> | 2010-08-07 21:17:00 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-13 13:30:49 -0700 |
commit | f986737b930114d41549f405a4efdeb13002db70 (patch) | |
tree | 83f6948f73504719914ac24cd01324a458562fb9 /drivers/net/e1000e/netdev.c | |
parent | 8fa8b10c9dc5729d3af41babae879b48ab4ee095 (diff) |
md/raid10: fix deadlock with unaligned read during resync
commit 51e9ac77035a3dfcb6fc0a88a0d80b6f99b5edb1 upstream.
If the 'bio_split' path in raid10-read is used while
resync/recovery is happening it is possible to deadlock.
Fix this be elevating ->nr_waiting for the duration of both
parts of the split request.
This fixes a bug that has been present since 2.6.22
but has only started manifesting recently for unknown reasons.
It is suitable for and -stable since then.
Reported-by: Justin Bronder <jsbronder@gentoo.org>
Tested-by: Justin Bronder <jsbronder@gentoo.org>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/e1000e/netdev.c')
0 files changed, 0 insertions, 0 deletions