diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-11-17 14:39:46 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-21 01:36:18 -0500 |
| commit | 854724d116cbd1145cd3888239a5cc7ea44d8cdc (patch) | |
| tree | 90e201455f947ff44b43abc0ed560ec97ecd8f95 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 06d7a56fe0bfc4f8c17bff6ca12d8bdd33e9f7e8 (diff) | |
bcachefs: btree_and_journal_iter: don't iterate over too many whiteouts when prefetching
To help ameloriate issues with peek operations having to skip over
deletions in the journal - just bail out if all we're doing is
prefetching btree nodes.
Since btree node prefetching runs every time we iterate to a new node,
and has to sequentially scan ahead, this avoids another O(n^2).
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
