blob: 4bf818de1f2feb1f6010eaff3a8eccbbf1e6d2c6 [file] [log] [blame]
Kent Overstreet1c6fdbd2017-03-16 22:18:50 -08001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _BCACHEFS_RECOVERY_H
3#define _BCACHEFS_RECOVERY_H
4
Kent Overstreet55936af2024-03-15 23:03:42 -04005void bch2_btree_lost_data(struct bch_fs *, enum btree_id);
6
Kent Overstreetd2554262024-03-23 20:07:46 -04007int bch2_journal_replay(struct bch_fs *);
Kent Overstreet065bd332023-07-10 13:42:26 -04008
Kent Overstreet1c6fdbd2017-03-16 22:18:50 -08009int bch2_fs_recovery(struct bch_fs *);
10int bch2_fs_initialize(struct bch_fs *);
11
12#endif /* _BCACHEFS_RECOVERY_H */