git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d030671
)
md/raid1: intialise start_next_window for READ case to avoid hang
author
NeilBrown
<neilb@suse.de>
Mon, 22 Sep 2014 00:06:23 +0000
(10:06 +1000)
committer
NeilBrown
<neilb@suse.de>
Mon, 22 Sep 2014 00:18:03 +0000
(10:18 +1000)
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:
79ef3a8aa1cb1523cc231c9a90a278333c21f761
cc: stable@vger.kernel.org (v3.13+)
Reported-by: Brassow Jonathan <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c
patch
|
blob
|
history
diff --cc
drivers/md/raid1.c
Simple merge