diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-01-06 21:38:08 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:22 -0400 |
commit | acc3e09b67a350bc9ce6dc9d0d96cc398a850e7c (patch) | |
tree | cbb9ba112b1b69519227b78c81113cd252adaa54 /fs/bcachefs/movinggc.c | |
parent | a74313481ae24cd301b79b5fca3161079e739a21 (diff) |
bcachefs: Rename data_op_data_progress -> data_jobs
Mild refactoring.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/movinggc.c')
-rw-r--r-- | fs/bcachefs/movinggc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/bcachefs/movinggc.c b/fs/bcachefs/movinggc.c index 46a0875135d5..4791e5099d93 100644 --- a/fs/bcachefs/movinggc.c +++ b/fs/bcachefs/movinggc.c @@ -231,8 +231,11 @@ static int bch2_copygc(struct bch_fs *c) buckets_to_move = h->used; - if (!buckets_to_move) + if (!buckets_to_move) { + bch_err_ratelimited(c, "copygc cannot run - sectors_reserved %llu!", + sectors_reserved); return 0; + } eytzinger0_sort(h->data, h->used, sizeof(h->data[0]), |