summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2024-09-06 12:22:56 +0930
committerDavid Sterba <dsterba@suse.com>2024-11-11 14:34:13 +0100
commit1d2fbb7f1f9e33eb448c7d2e2ae883801c8c4a21 (patch)
tree0b11075e42c585cb00747e691479ff2c13085b47 /tools/perf/scripts/python/export-to-postgresql.py
parentc96d0e3921419bd3e5d8a1f355970c8ae3047ef4 (diff)
btrfs: allow compression even if the range is not page aligned
Previously for btrfs with sector size smaller than page size (subpage), we only allow compression if the range is fully page aligned. This is to work around the asynchronous submission of compressed range, which delayed the page unlock and writeback into a workqueue, furthermore asynchronous submission can lock multiple sector range across page boundary. Such asynchronous submission makes it very hard to co-operate with other regular writes. With the recent changes to the subpage folio unlock path, now asynchronous submission of compressed pages can co-operate with regular submission, so enable sector perfect compression if it's an experimental build. The ETA for moving this feature out of experimental is 6.15, and I hope all remaining corner cases can be exposed before that. 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-postgresql.py')
0 files changed, 0 insertions, 0 deletions