2023-02-13 05:40:59 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _BCACHEFS_BTREE_WRITE_BUFFER_H
|
|
|
|
#define _BCACHEFS_BTREE_WRITE_BUFFER_H
|
|
|
|
|
2023-11-27 06:33:04 +03:00
|
|
|
int bch2_btree_write_buffer_flush_locked(struct btree_trans *);
|
2023-11-21 03:33:52 +03:00
|
|
|
int bch2_btree_write_buffer_flush_nocheck_rw(struct btree_trans *);
|
2023-11-27 06:33:04 +03:00
|
|
|
int bch2_btree_write_buffer_flush_sync(struct btree_trans *);
|
2023-11-21 03:33:52 +03:00
|
|
|
int bch2_btree_write_buffer_tryflush(struct btree_trans *);
|
|
|
|
|
2023-11-27 06:33:04 +03:00
|
|
|
int bch2_btree_insert_keys_write_buffer(struct btree_trans *);
|
2023-02-13 05:40:59 +03:00
|
|
|
|
|
|
|
void bch2_fs_btree_write_buffer_exit(struct bch_fs *);
|
|
|
|
int bch2_fs_btree_write_buffer_init(struct bch_fs *);
|
|
|
|
|
|
|
|
#endif /* _BCACHEFS_BTREE_WRITE_BUFFER_H */
|