diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-01-10 21:41:51 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-01-10 21:41:51 -0500 |
commit | 74a7c3ff5732598431801bb0b4bd844f1d69aa90 (patch) | |
tree | 9d56673bfd488f3d6673d22a78dc4552dd9dd4d2 /libbcachefs/buckets_waiting_for_journal.h | |
parent | b3984515eba163d734badecfef46e2be67a3b7eb (diff) |
Update bcachefs sources to bf340e68c7 bcachefs: Ignore cached data when calculating fragmentation
Diffstat (limited to 'libbcachefs/buckets_waiting_for_journal.h')
-rw-r--r-- | libbcachefs/buckets_waiting_for_journal.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libbcachefs/buckets_waiting_for_journal.h b/libbcachefs/buckets_waiting_for_journal.h new file mode 100644 index 00000000..079a591c --- /dev/null +++ b/libbcachefs/buckets_waiting_for_journal.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BUCKETS_WAITING_FOR_JOURNAL_H +#define _BUCKETS_WAITING_FOR_JOURNAL_H + +#include "buckets_waiting_for_journal_types.h" + +bool bch2_bucket_needs_journal_commit(struct bch_fs *, u64, unsigned, u64); +int bch2_set_bucket_needs_journal_commit(struct bch_fs *, unsigned, u64, u64); + +void bch2_fs_buckets_waiting_for_journal_exit(struct bch_fs *); +int bch2_fs_buckets_waiting_for_journal_init(struct bch_fs *); + +#endif /* _BUCKETS_WAITING_FOR_JOURNAL_H */ |