aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLiu Bo <[email protected]>2017-09-01 16:14:30 -0600
committerDavid Sterba <[email protected]>2017-10-30 12:27:55 +0100
commit49e83f5735cf1aca03ca8b4eadca475c1f3b0b14 (patch)
tree39541ef4b34a4fcbd9efb91ed90dac62f5567e4c /tools/perf/scripts/python/export-to-postgresql.py
parent45bac0f3d24a76f127a118e7b95a54e616449d16 (diff)
Btrfs: protect conditions within root->log_mutex while waiting
Both wait_for_commit() and wait_for_writer() are checking the condition out of the mutex lock. This refactors code a bit to be lock safe. Signed-off-by: Liu Bo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions