bcachefs: Don't let copygc buckets be stolen by other threads

And assorted other copygc fixes.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2020-07-21 17:12:39 -04:00 • committed by Kent Overstreet
commit 74ed7e560b
8 changed files with 72 additions and 35 deletions