26 #ifndef __MOTR_BE_LOG_STORE_H__ 27 #define __MOTR_BE_LOG_STORE_H__ 290 M0_INTERNAL
struct m0_buf *
292 M0_INTERNAL
struct m0_buf *
295 M0_INTERNAL
struct m0_buf *
M0_INTERNAL void m0_be_log_store_rbuf_io_reset(struct m0_be_log_store *ls, enum m0_be_log_store_io_type io_type)
M0_INTERNAL void m0_be_log_store_io_discard(struct m0_be_log_store *ls, m0_bindex_t offset, struct m0_be_op *op)
M0_INTERNAL void m0_be_log_store_close(struct m0_be_log_store *ls)
M0_INTERNAL int m0_be_log_store_open(struct m0_be_log_store *ls, struct m0_be_log_store_cfg *ls_cfg)
char * lsc_stob_domain_location
m0_bindex_t ls_offset_discarded
M0_INTERNAL struct m0_buf * m0_be_log_store_rbuf_read_buf_first(struct m0_be_log_store *ls, unsigned *iter)
struct m0_stob_domain * ls_stob_domain
M0_INTERNAL struct m0_buf * m0_be_log_store_rbuf_read_buf_next(struct m0_be_log_store *ls, unsigned *iter)
M0_INTERNAL m0_bcount_t m0_be_log_store_buf_size(struct m0_be_log_store *ls)
struct m0_be_log_io * ls_rbuf_write_lio
M0_INTERNAL struct m0_be_log_io * m0_be_log_store_rbuf_io_first(struct m0_be_log_store *ls, enum m0_be_log_store_io_type io_type, struct m0_be_op **op, unsigned *iter)
uint64_t lsc_stob_domain_key
M0_INTERNAL void m0_be_log_store_io_translate(struct m0_be_log_store *ls, m0_bindex_t position, struct m0_be_io *bio)
struct m0_be_fmt_log_store_header ls_header
struct m0_buf ls_header_buf
const char * lsc_stob_domain_init_cfg
struct m0_buf ls_rbuf_write_buf
M0_INTERNAL bool m0_be_log_store_contains_stob(struct m0_be_log_store *ls, const struct m0_stob_id *stob_id)
M0_INTERNAL struct m0_be_log_io * m0_be_log_store_rbuf_io_next(struct m0_be_log_store *ls, enum m0_be_log_store_io_type io_type, struct m0_be_op **op, unsigned *iter)
M0_INTERNAL bool m0_be_log_store__invariant(struct m0_be_log_store *ls)
M0_INTERNAL void m0_be_log_store_module_setup(struct m0_be_log_store *ls, struct m0_be_log_store_cfg *ls_cfg, bool create_mode)
struct m0_module ls_module
struct m0_be_log_io * ls_rbuf_read_lio
static m0_bindex_t offset
const char * lsc_stob_create_cfg
M0_INTERNAL bool m0_be_log_store_overwrites(struct m0_be_log_store *ls, m0_bindex_t index, m0_bcount_t size, m0_bindex_t position)
struct m0_be_op * ls_rbuf_write_op
M0_INTERNAL struct m0_buf * m0_be_log_store_rbuf_write_buf(struct m0_be_log_store *ls)
m0_bcount_t lsc_rbuf_size
const char * lsc_stob_domain_create_cfg
M0_INTERNAL int m0_be_log_store_create(struct m0_be_log_store *ls, struct m0_be_log_store_cfg *ls_cfg)
M0_INTERNAL void m0_be_log_store_io_credit(struct m0_be_log_store *ls, struct m0_be_io_credit *accum)
M0_INTERNAL int m0_be_log_store_io_window(struct m0_be_log_store *ls, m0_bindex_t offset, m0_bcount_t *length)
struct m0_buf * ls_rbuf_read_buf
struct m0_be_log_store_cfg ls_cfg
M0_INTERNAL void m0_be_log_store_destroy(struct m0_be_log_store *ls)
struct m0_be_op * ls_rbuf_read_op
struct m0_stob_id lsc_stob_id
M0_INTERNAL uint32_t m0_be_log_store_bshift(struct m0_be_log_store *ls)