diff options
author | 2023-08-08 01:12:31 +0900 | |
---|---|---|
committer | 2023-08-21 14:52:19 +0200 | |
commit | 861093eff4f01319edfc1d1ee276a7f2bf720f1d (patch) | |
tree | e2200f7c502a9a7e58c641c6b446f3391f6d950f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: avoid start and commit empty transaction when flushing qgroups (diff) | |
download | wireguard-linux-861093eff4f01319edfc1d1ee276a7f2bf720f1d.tar.xz wireguard-linux-861093eff4f01319edfc1d1ee276a7f2bf720f1d.zip |
btrfs: introduce struct to consolidate extent buffer write context
Introduce btrfs_eb_write_context to consolidate writeback_control and the
exntent buffer context. This will help adding a block group context as
well.
While at it, move the eb context setting before
btrfs_check_meta_write_pointer(). We can set it here because we anyway need
to skip pages in the same eb if that eb is rejected by
btrfs_check_meta_write_pointer().
Suggested-by: Christoph Hellwig <hch@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
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