diff options
author | 2018-09-06 18:33:39 +0200 | |
---|---|---|
committer | 2018-09-06 17:07:50 -0400 | |
commit | 644e2537fdc77baeeefc829524937bca64329f82 (patch) | |
tree | 9e30a66eda423b43f61c2e4816e030ab8ae6111c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm raid: fix reshape race on small devices (diff) | |
download | linux-dev-644e2537fdc77baeeefc829524937bca64329f82.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions