xref: /linux/fs/bcachefs/btree_write_buffer.h (revision 16e5ac127d8d18adf85fe5ba847d77b58d1ed418)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_BTREE_WRITE_BUFFER_H
3 #define _BCACHEFS_BTREE_WRITE_BUFFER_H
4 
5 int __bch2_btree_write_buffer_flush(struct btree_trans *, unsigned, bool);
6 int bch2_btree_write_buffer_flush_sync(struct btree_trans *);
7 int bch2_btree_write_buffer_flush(struct btree_trans *);
8 
9 int bch2_btree_insert_keys_write_buffer(struct btree_trans *);
10 
11 void bch2_fs_btree_write_buffer_exit(struct bch_fs *);
12 int bch2_fs_btree_write_buffer_init(struct bch_fs *);
13 
14 #endif /* _BCACHEFS_BTREE_WRITE_BUFFER_H */
15