commit | c4d6a1b8e8ea79c439a4871cba540443c9eb13b9 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fb.com> | Thu Sep 21 10:29:22 2017 -0700 |
committer | Shaohua Li <shli@fb.com> | Wed Sep 27 20:08:29 2017 -0700 |
tree | 782289f1af0633af764aa1cb8a775efedb2d8934 | |
parent | 79bf31a3b2a7ca467cfec8ff97d359a77065d01f [diff] |
dm-raid: fix a race condition in request handling raid_map calls pers->make_request, which missed the suspend check. Fix it with the new md_handle_request API. Fix: cc27b0c78c79(md: fix deadlock between mddev_suspend() and md_write_start()) Cc: Heinz Mauelshagen <heinzm@redhat.com> Cc: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org Reviewed-by: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>