bcachefs: bch2_dev_remove_stripes()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 1 Sep 2024 22:35:52 +0000 (18:35 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Sep 2024 15:39:49 +0000 (11:39 -0400)
commitad8d1f77fc425f42d1b297486eea36864ae82c41
treea02b2210b52c38c090347e630f8e8b4038c39868
parent934137b0c066de53c6df3191c922f6e371fa45a7
bcachefs: bch2_dev_remove_stripes()

We can now correctly force-remove a device that has stripes on it; this
uses the new BCH_SB_MEMBER_INVALID sentinal value.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_background.c
fs/bcachefs/ec.c
fs/bcachefs/ec.h
fs/bcachefs/errcode.h