summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-05-09 03:48:30 +0400
committerNeilBrown <neilb@suse.de>2013-06-13 07:18:15 +0400
commit6b6204ee92adb53bfd6a77cb5679282ec3820c4b (patch)
tree750f1ac85412b93fae4cca92883fd6187380bc74 /tools/perf/scripts/python/export-to-postgresql.py
parent32f9f570d04461a41bdcd5c1d93b41ebc5ce182a (diff)
downloadlinux-6b6204ee92adb53bfd6a77cb5679282ec3820c4b.tar.xz
md: md_stop_writes() should always freeze recovery.
__md_stop_writes() will currently sometimes freeze recovery. So any caller must be ready for that to happen, and indeed they are. However if __md_stop_writes() doesn't freeze_recovery, then a recovery could start before mddev_suspend() is called, which could be awkward. This can particularly cause problems or dm-raid. So change __md_stop_writes() to always freeze recovery. This is safe and more predicatable. Reported-by: Brassow Jonathan <jbrassow@redhat.com> Tested-by: Brassow Jonathan <jbrassow@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions