summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2018-09-06 19:33:39 +0300
committerMike Snitzer <snitzer@redhat.com>2018-09-07 00:07:50 +0300
commit644e2537fdc77baeeefc829524937bca64329f82 (patch)
tree9e30a66eda423b43f61c2e4816e030ab8ae6111c /usr
parent38b0bd0cda07d34ad6f145fce675ead74739c44e (diff)
downloadlinux-644e2537fdc77baeeefc829524937bca64329f82.tar.xz
dm raid: fix stripe adding reshape deadlock
When initiating a stripe adding reshape, a deadlock between md_stop_writes() waiting for the sync thread to stop and the running sync thread waiting for inactive stripes occurs (this frequently happens on single-core but rarely on multi-core systems). Fix this deadlock by setting MD_RECOVERY_WAIT to have the main MD resynchronization thread worker (md_do_sync()) bail out when initiating the reshape via constructor arguments. Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions