diff options
| author | Kent Overstreet | 2021-05-15 00:37:37 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:09:06 -0400 |
| commit | c2177e4da332df6fb91b08b874a79051f13897bc (patch) | |
| tree | 3f376ac911566542dd019ef6cf7ad051071e0aa6 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 5db95e50e11bdd0a191a22fdbc1e68ec900aff89 (diff) | |
bcachefs: Improved extent merging
Previously, checksummed extents could only be merged when the checksum
covered only the currently live data.
xfstest generic/064 creates a test file, then uses finsert calls to
split the extent, then collapse calls to see if they get merged. But
without any reads to trigger the narrow_crcs path, each of the split
extents will still have a checksum for the entire original extent.
This patch improves the extent merge path so that if either of the
extents we're attempting to merge has a checksum that covers the entire
merged extent, we just use that checksum.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
