Kent Overstreet
085ab69357
bcachefs: Rework of cut_front & cut_back
...
This changes bch2_cut_front and bch2_cut_back so that they're able to
shorten the size of the value, and it also changes the extent update
path to update the accounting in the btree node when this happens.
When the size of the value is shortened, they zero out the space that's
no longer used, so it's interpreted as noops (as implemented in the last
patch).
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-22 17:08:32 -04:00
..
2023-10-22 17:08:28 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:26 -04:00
2023-10-22 17:08:27 -04:00
2023-10-22 17:08:27 -04:00
2023-10-22 17:08:14 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:08:13 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:27 -04:00
2023-10-22 17:08:27 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:12 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:22 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:21 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:21 -04:00
2023-10-22 17:08:23 -04:00
2023-10-22 17:08:23 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:23 -04:00
2023-10-22 17:08:23 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:08:28 -04:00
2023-10-22 17:08:11 -04:00
2023-10-22 17:08:11 -04:00
2023-10-22 17:08:15 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:20 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:14 -04:00
2023-10-22 17:08:16 -04:00
2023-10-22 17:08:28 -04:00
2023-10-22 17:08:28 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:08:28 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:28 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:21 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:20 -04:00
2023-10-22 17:08:17 -04:00
2023-10-22 17:08:17 -04:00
2023-10-22 17:08:22 -04:00
2023-10-22 17:08:20 -04:00
2023-10-22 17:08:20 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:14 -04:00
2023-10-22 17:08:28 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:18 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:25 -04:00
2023-10-22 17:08:24 -04:00
2023-10-22 17:08:14 -04:00
2023-10-22 17:08:31 -04:00
2023-10-22 17:08:13 -04:00
2023-10-22 17:08:28 -04:00
2023-10-22 17:08:14 -04:00
2023-10-22 17:08:26 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:24 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:08:13 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:08:21 -04:00
2023-10-22 17:08:28 -04:00
2023-10-22 17:08:18 -04:00
2023-10-22 17:08:30 -04:00
2023-10-22 17:08:18 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:21 -04:00
2023-10-22 17:08:22 -04:00
2023-10-22 17:08:28 -04:00
2023-10-22 17:08:22 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:23 -04:00
2023-10-22 17:08:12 -04:00