bcachefs: Add BTREE_PTR_RANGE_UPDATED
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 27 Jan 2021 01:13:54 +0000 (20:13 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:52 +0000 (17:08 -0400)
commit51d2dfb82d0553c5764689d30adabbf6d0927be5
tree69d5532924ddaf3104abf055692e215d8e666a24
parenta66f7989742a0071ea4d5d0b0674978ac8ce30ab
bcachefs: Add BTREE_PTR_RANGE_UPDATED

This is so that when we discover btree topology issues, we can just
update the pointer to a btree node and signal btree read path that the
min/max keys in the node header should be updated from the node pointer.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs_format.h
fs/bcachefs/btree_io.c
fs/bcachefs/btree_update_interior.c
fs/bcachefs/extents.c