summaryrefslogtreecommitdiff
path: root/fs/bcachefs/journal_seq_blacklist.h
blob: b4a3b270e9d28f114b95c3d2009cb866d1335331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _BCACHEFS_JOURNAL_SEQ_BLACKLIST_H
#define _BCACHEFS_JOURNAL_SEQ_BLACKLIST_H

struct journal_replay;

struct journal_seq_blacklist *
bch2_journal_seq_blacklist_find(struct journal *, u64);
int bch2_journal_seq_should_ignore(struct bch_fs *, u64, struct btree *);
int bch2_journal_seq_blacklist_read(struct journal *,
				    struct journal_replay *);
void bch2_journal_seq_blacklist_write(struct journal *);

#endif /* _BCACHEFS_JOURNAL_SEQ_BLACKLIST_H */