diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-29 22:22:45 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:20 -0400 |
commit | a1d58243f943f5933e65e18e504333ac9eccb679 (patch) | |
tree | e9f6753f95985fdb60eaa6279cd3d599d6bb6eac /fs/bcachefs/btree_gc.h | |
parent | cccf4e6df36ffb4752b4c83efd0723281e629693 (diff) | |
download | linux-a1d58243f943f5933e65e18e504333ac9eccb679.tar.gz linux-a1d58243f943f5933e65e18e504333ac9eccb679.tar.bz2 linux-a1d58243f943f5933e65e18e504333ac9eccb679.zip |
bcachefs: add ability to run gc on metadata only
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_gc.h')
-rw-r--r-- | fs/bcachefs/btree_gc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_gc.h b/fs/bcachefs/btree_gc.h index 9eb2b0527a92..b7982e64b235 100644 --- a/fs/bcachefs/btree_gc.h +++ b/fs/bcachefs/btree_gc.h @@ -5,7 +5,7 @@ #include "btree_types.h" void bch2_coalesce(struct bch_fs *); -int bch2_gc(struct bch_fs *, struct list_head *, bool); +int bch2_gc(struct bch_fs *, struct list_head *, bool, bool); void bch2_gc_thread_stop(struct bch_fs *); int bch2_gc_thread_start(struct bch_fs *); void bch2_mark_dev_superblock(struct bch_fs *, struct bch_dev *, unsigned); |