Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit f0cc9a05 authored by NeilBrown's avatar NeilBrown
Browse files

md/raid1: intialise start_next_window for READ case to avoid hang


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: 79ef3a8a
cc: stable@vger.kernel.org (v3.13+)
Reported-by: default avatarBrassow Jonathan <jbrassow@redhat.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent d030671f
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment