diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-17 09:11:39 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:09:29 +0200 |
commit | 5add07d56a5e714a6ac1bedffa9b999d2966708c (patch) | |
tree | 7d4c7598720b8606a887f55431b0fd1f41a351bf /fs/bcachefs/alloc_background.h | |
parent | bcachefs: New bucket invalidate path (diff) | |
download | linux-5add07d56a5e714a6ac1bedffa9b999d2966708c.tar.xz linux-5add07d56a5e714a6ac1bedffa9b999d2966708c.zip |
bcachefs: Fsck for need_discard & freespace btrees
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_background.h')
-rw-r--r-- | fs/bcachefs/alloc_background.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/alloc_background.h b/fs/bcachefs/alloc_background.h index d4883d3cd642..d82e80218b8e 100644 --- a/fs/bcachefs/alloc_background.h +++ b/fs/bcachefs/alloc_background.h @@ -113,6 +113,8 @@ int bch2_alloc_read(struct bch_fs *, bool, bool); int bch2_trans_mark_alloc(struct btree_trans *, struct bkey_s_c, struct bkey_i *, unsigned); +int bch2_check_alloc_info(struct bch_fs *, bool); +int bch2_check_alloc_to_lru_refs(struct bch_fs *); void bch2_do_discards(struct bch_fs *); static inline bool should_invalidate_buckets(struct bch_dev *ca) |