diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-31 11:28:13 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-10 15:34:08 -0400 |
commit | e6fab655e6f59d1b50ee9e97c727a6f6f84b0f1d (patch) | |
tree | 4d6d898e2a1e3a5082bbe608ac12e616f34e3b84 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bdec47f57f26248a6fba67803c2ee44484534735 (diff) |
bcachefs: Avoid taking journal lock unnecessarily
Previously, any time we failed to get a journal reservation we'd retry,
with the journal lock held; but this isn't necessary given
wait_event()/wake_up() ordering.
This avoids performance cliffs when the journal starts to get backed up
and lock contention shoots up.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions