diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-15 23:03:42 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-03 14:46:51 -0400 |
commit | 55936afe11077a84d9e1c5068169af328bbf2811 (patch) | |
tree | 8cc2488eeb4e420211d563c5f15a3ad814608399 /fs/bcachefs/recovery.h | |
parent | 43f5ea4646b2271a9a5af3729dfdf644d69b3282 (diff) | |
download | linux-55936afe11077a84d9e1c5068169af328bbf2811.tar.gz linux-55936afe11077a84d9e1c5068169af328bbf2811.tar.bz2 linux-55936afe11077a84d9e1c5068169af328bbf2811.zip |
bcachefs: Flag btrees with missing data
We need this to know when we should attempt to reconstruct the snapshots
btree
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/recovery.h')
-rw-r--r-- | fs/bcachefs/recovery.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/recovery.h b/fs/bcachefs/recovery.h index 3962fd87b50d..4bf818de1f2f 100644 --- a/fs/bcachefs/recovery.h +++ b/fs/bcachefs/recovery.h @@ -2,6 +2,8 @@ #ifndef _BCACHEFS_RECOVERY_H #define _BCACHEFS_RECOVERY_H +void bch2_btree_lost_data(struct bch_fs *, enum btree_id); + int bch2_journal_replay(struct bch_fs *); int bch2_fs_recovery(struct bch_fs *); |