diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-03 17:24:40 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:28 +0200 |
commit | d7172f52e9933b6ec9305e7fe6e829e3939dba04 (patch) | |
tree | 62101cc94eccc2825aa1c6ac82c6a5340e65dfa4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9e2aff90fc2ad2b94933762f5442fef9ee7a692e (diff) |
btrfs: use per-buffer locking for extent_buffer reading
Instead of locking and unlocking every page or the extent, just add a
new EXTENT_BUFFER_READING bit that mirrors EXTENT_BUFFER_WRITEBACK
for synchronizing threads trying to read an extent_buffer and to wait
for I/O completion.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions