diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-17 21:40:39 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-14 12:28:07 -0400 |
commit | 27551c7ec56de76fc87ed16dd3400bd1acd90109 (patch) | |
tree | e1a3ab7fae6916c565860c4ecdfe41a5284cc0fb /fs/bcachefs/movinggc.h | |
parent | 4820cca8e58d758ad0be26081b073ead47f2c977 (diff) |
bcachefs: Improve bucket_alloc_fail tracepoint
We should be printing the number of free buckets, not just the number of
available buckets.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/movinggc.h')
-rw-r--r-- | fs/bcachefs/movinggc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/movinggc.h b/fs/bcachefs/movinggc.h index 922738247d03..e85c8136a46e 100644 --- a/fs/bcachefs/movinggc.h +++ b/fs/bcachefs/movinggc.h @@ -2,6 +2,7 @@ #ifndef _BCACHEFS_MOVINGGC_H #define _BCACHEFS_MOVINGGC_H +unsigned long bch2_copygc_wait_amount(struct bch_fs *); void bch2_copygc_stop(struct bch_fs *); int bch2_copygc_start(struct bch_fs *); void bch2_fs_copygc_init(struct bch_fs *); |