diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-04-16 22:54:11 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:54 +0200 |
commit | 41e3778636cab27ef43e6e1b1cf3d8c2952cc77a (patch) | |
tree | 2cec4b3a5d702e3da4b8dc4c4d523a1cb90784ab /fs/bcachefs/btree_gc.h | |
parent | bcachefs: Fix bch2_write_super to obey very_degraded option (diff) | |
download | linux-41e3778636cab27ef43e6e1b1cf3d8c2952cc77a.tar.xz linux-41e3778636cab27ef43e6e1b1cf3d8c2952cc77a.zip |
bcachefs: Bring back metadata only gc
This is useful for the filesystem dump debugging tool - when we're
hitting bugs we want to skip as much of the recovery process as
possible, and the dump tool only needs to know where metadata lives.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
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 fa604efc70cc..f516faded269 100644 --- a/fs/bcachefs/btree_gc.h +++ b/fs/bcachefs/btree_gc.h @@ -6,7 +6,7 @@ void bch2_coalesce(struct bch_fs *); -int bch2_gc(struct bch_fs *, bool); +int bch2_gc(struct bch_fs *, bool, bool); int bch2_gc_gens(struct bch_fs *); void bch2_gc_thread_stop(struct bch_fs *); int bch2_gc_thread_start(struct bch_fs *); |