diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-11-29 14:08:51 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:32 -0400 |
commit | c9bebae65eade6529f9d3068a6da42fc56664bfe (patch) | |
tree | ebf834840eb1ad862f684aae12ed3cb15f5d9388 /fs/bcachefs/bkey_sort.c | |
parent | 183797e31d43ce2fbfc596ff3f4d034f1ba144d0 (diff) | |
download | lwn-c9bebae65eade6529f9d3068a6da42fc56664bfe.tar.gz lwn-c9bebae65eade6529f9d3068a6da42fc56664bfe.zip |
bcachefs: Whiteout changes
More prep work for snapshots: extents will soon be using
KEY_TYPE_deleted for whiteouts, with 0 size. But we wen't be able to
keep these whiteouts with the rest of the extents in the btree node, due
to sorting invariants breaking.
We can deal with this by immediately moving the new whiteouts to the
unwritten whiteouts area - this just means those whiteouts won't be
sorted, so we need new code to sort them prior to merging them with the
rest of the keys to be written.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bkey_sort.c')
0 files changed, 0 insertions, 0 deletions