diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-17 15:07:06 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-26 16:26:35 -0400 |
commit | 9314e2fb260570d64eef0141ad49526c6637e36f (patch) | |
tree | 75bd943a9c74c4c7d19d8933b60a07500da6e44b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 19ff84b20d62e62ff527a384b35102bf745a70d1 (diff) |
bcachefs: Fix btree iter flags in data move (2)
Data move -> move_get_io_opts -> bch2_get_update_rebalance_opts
requires a not_extents iterator; this fixes the path where we're walking
the extents btree and chase a reflink pointer into the reflink btree.
bch2_lookup_indirect_extent() requires working with an extents iterator
(due to peek_slot() semantics), so we implement
bch2_lookup_indirect_extent_for_move().
This is simplified because there's no need to report
indirect_extent_missing_errors here, that can be deferred until fsck or
when a user reads that data.
Reported-by: Maƫl Kerbiriou <mael.kerbiriou@free.fr>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions