bcachefs: BCH_SB_MEMBER_INVALID
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 1 Sep 2024 22:09:18 +0000 (18:09 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 4 Sep 2024 00:43:14 +0000 (20:43 -0400)
commit53f6619554fb1edf8d7599b560d44dbea085c730
treeb3d3fed510eb714dc187b2acf040f071d7a94435
parent7f12a963b65872fda1219f065c1cc1b1b9a806e8
bcachefs: BCH_SB_MEMBER_INVALID

Create a sentinal value for "invalid device".

This is needed for removing devices that have stripes on them (force
removing, without evacuating); we need a sentinal value for the stripe
pointers to the device being removed.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/replicas.c
fs/bcachefs/sb-members.c
fs/bcachefs/sb-members_format.h