bcachefs: Don't stop copygc while removing devices
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 9 Oct 2022 08:26:06 +0000 (04:26 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:51 +0000 (17:09 -0400)
commit15949c549993a2383ebacf6c563b85722278fba3
treebdf8603b637ea5f01a1ae3dd68dc191897c98297
parentc9828cea312e83f3f17f4a80990f91739ff33d06
bcachefs: Don't stop copygc while removing devices

With the new backpointer based copygc we don't need an explicit copygc
reserve, we're always evacuating buckets one at a time - so this is no
longer needed, and in fact removing it fixes a deadlock in
bch2_dev_allocator_remove().

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super.c