diff options
| author | Kent Overstreet <[email protected]> | 2023-05-27 23:19:13 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:10:03 -0400 |
| commit | ad520141b155786800261cc7e02ec02f0afe2643 (patch) | |
| tree | e4057e58691102680f0a988472c06f0cca56e4c8 /tools/perf/scripts/python/bin | |
| parent | e47a390aa5946e3c5bea7a4a350a88d3bb3ba5b4 (diff) | |
bcachefs: Fix corruption with writeable snapshots
When partially overwriting an extent in an older snapshot, the existing
extent has to be split.
If the existing extent was overwritten in a different (sibling)
snapshot, we have to ensure that the split won't be visible in the
sibling snapshot.
data_update.c already has code for this,
bch2_insert_snapshot_writeouts() - we just need to move it into
btree_update_leaf.c and change bch2_trans_update_extent() to use it as
well.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions