summaryrefslogtreecommitdiffstats
path: root/net/ethernet
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2018-09-06 18:33:39 +0200
committerMike Snitzer <snitzer@redhat.com>2018-09-06 23:07:50 +0200
commit644e2537fdc77baeeefc829524937bca64329f82 (patch)
tree9e30a66eda423b43f61c2e4816e030ab8ae6111c /net/ethernet
parentdm raid: fix reshape race on small devices (diff)
downloadlinux-644e2537fdc77baeeefc829524937bca64329f82.tar.xz
linux-644e2537fdc77baeeefc829524937bca64329f82.zip
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 'net/ethernet')
0 files changed, 0 insertions, 0 deletions