linux/drivers/md/raid1.c
NeilBrown f3a221f2c2 md/raid1: intialise start_next_window for READ case to avoid hang
commit f0cc9a0571 upstream.

r1_bio->start_next_window is not initialised in the READ
case, so allow_barrier may incorrectly decrement
   conf->current_window_requests
which can cause raise_barrier() to block forever.

Fixes: 79ef3a8aa1
Reported-by: Brassow Jonathan <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-05 13:41:11 -07:00

3223 lines
87 KiB