summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bkey_sort.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-11-29 14:08:51 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:32 -0400
commitc9bebae65eade6529f9d3068a6da42fc56664bfe (patch)
treeebf834840eb1ad862f684aae12ed3cb15f5d9388 /fs/bcachefs/bkey_sort.h
parent183797e31d43ce2fbfc596ff3f4d034f1ba144d0 (diff)
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.h')
0 files changed, 0 insertions, 0 deletions