diff options
| author | Kent Overstreet | 2019-11-20 16:22:49 -0500 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:32 -0400 |
| commit | 183797e31d43ce2fbfc596ff3f4d034f1ba144d0 (patch) | |
| tree | 7228c46c33b7b79fe90af6b46b91ceaadf1998d3 /tools | |
| parent | c201e2d97615e7dc6f2f99dcdb8bf8d64657b761 (diff) | |
bcachefs: Always emit new extents on partial overwrite
This is prep work for snapshots: the algorithm in
bch2_extent_sort_fix_overlapping() will break when we have multiple
overlapping extents in unrelated snapshots - but, we'll be able to make
extents work like regular keys and use bch2_key_sort_fix_overlapping()
for extent btree nodes if we make a couple changes - the main one being
to always emit new extents when we partially overwrite an existing
(written) extent.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
