summaryrefslogtreecommitdiff
path: root/fs/bcachefs/movinggc.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-18 04:40:39 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:36 +0300
commit8ef983139940439b3c169ea90dbb8c21e5dcadd3 (patch)
tree7417028f6315e368328ccdc882a47a2015d0302d /fs/bcachefs/movinggc.h
parentf501ad2b8108a7910adf494fcc5c59bbbfa886e8 (diff)
downloadlinux-8ef983139940439b3c169ea90dbb8c21e5dcadd3.tar.xz
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.h1
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 *);