summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2017-12-02 03:03:48 +0300
committerMike Snitzer <snitzer@redhat.com>2017-12-08 18:59:57 +0300
commit1af2048a3e87b4e982c53ad8cfb0c75d1a9c0a73 (patch)
tree4bb8d524f6500ca96f08061268e86cfe6b4b1b3b /block
parentfbc7c07ec23c040179384a1f16b62b6030eb6bdd (diff)
downloadlinux-1af2048a3e87b4e982c53ad8cfb0c75d1a9c0a73.tar.xz
dm raid: fix deadlock caused by premature md_stop_writes()
md_stop_writes() is called in raid_presuspend() causing deadlocks on bios submitted afterwards -- which happens on loaded raid sets with conversion requests. Fix by moving md_stop_writes() to raid_postsuspend(). NOTE: when the recovery's frozen (MD_RECOVERY_FROZEN), writes haven't been started (or are already stopped) so don't stop them again. Also remove superfluous readonly setting. Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions