commit | f0cc9a057151892b885be21a1d19b0185568281d | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Sep 22 10:06:23 2014 +1000 |
committer | NeilBrown <neilb@suse.de> | Mon Sep 22 10:18:03 2014 +1000 |
tree | 121cf9034f9e5b081c36aa6135bbcee7d6614555 | |
parent | d030671f3f261e528dc6e396a13f10859a74ae7c [diff] |
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: 79ef3a8aa1cb1523cc231c9a90a278333c21f761 cc: stable@vger.kernel.org (v3.13+) Reported-by: Brassow Jonathan <jbrassow@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>