diff options
author | Qu Wenruo <wqu@suse.com> | 2024-10-10 07:46:12 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-11-11 16:34:19 +0300 |
commit | c87c299776e4d75bcc5559203ae2c37dc0396d80 (patch) | |
tree | eea982d95ceb48047011838e598e3c3a7818fc3a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b1c5f6eda2d024c187d4d47f0310bc5a1cc8b1d3 (diff) | |
download | linux-c87c299776e4d75bcc5559203ae2c37dc0396d80.tar.xz |
btrfs: make buffered write to copy one page a time
Currently the btrfs_buffered_write() is preparing multiple page a time,
allowing a better performance.
But the current trend is to support larger folio as an optimization,
instead of implementing own multi-page optimization.
This is inspired by generic_perform_write(), which is copying one folio
a time.
Such change will prepare us to migrate to implement the write_begin()
and write_end() callbacks, and make every involved function a little
easier.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions