23 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_BE 75 "m0_be_io_size(&lio->lio_be_io)=%"PRIu64,
186 #undef M0_TRACE_SUBSYSTEM #define M0_BUFVEC_INIT_BUF(addr_ptr, count_ptr)
M0_INTERNAL m0_bcount_t m0_be_io_size(struct m0_be_io *bio)
m0_bcount_t bisc_pos_start
struct m0_be_log_record * lio_record
#define M0_LOG(level,...)
struct m0_bufvec lio_bufvec
M0_INTERNAL void m0_free_aligned(void *data, size_t size, unsigned shift)
#define BE_IOCRED_P(iocred)
M0_INTERNAL struct m0_be_io * m0_be_log_io_be_io(struct m0_be_log_io *lio)
M0_INTERNAL void m0_be_io_fini(struct m0_be_io *bio)
M0_INTERNAL int m0_be_io_sched_init(struct m0_be_io_sched *sched, struct m0_be_io_sched_cfg *cfg)
M0_INTERNAL bool m0_be_log_sched_is_locked(struct m0_be_log_sched *sched)
M0_INTERNAL bool m0_be_log_io_is_empty(struct m0_be_log_io *lio)
M0_INTERNAL bool m0_be_io_sched_is_locked(struct m0_be_io_sched *sched)
static bool m0_is_aligned(uint64_t val, uint64_t alignment)
M0_INTERNAL void m0_ext_init(struct m0_ext *ext)
M0_INTERNAL void m0_be_log_sched_add(struct m0_be_log_sched *sched, struct m0_be_log_io *lio, struct m0_be_op *op)
M0_INTERNAL void * m0_be_log_io_user_data(struct m0_be_log_io *lio)
M0_INTERNAL void m0_be_log_io_deallocate(struct m0_be_log_io *lio)
M0_INTERNAL int m0_be_io_init(struct m0_be_io *bio)
M0_INTERNAL void m0_be_io_sched_lock(struct m0_be_io_sched *sched)
M0_INTERNAL void m0_be_io_sched_fini(struct m0_be_io_sched *sched)
M0_INTERNAL void m0_be_log_io_user_data_set(struct m0_be_log_io *lio, void *data)
struct m0_be_io_sched_cfg lsch_io_sched_cfg
M0_INTERNAL struct m0_bufvec * m0_be_log_io_bufvec(struct m0_be_log_io *lio)
M0_INTERNAL bool m0_be_io_is_empty(struct m0_be_io *bio)
M0_INTERNAL int m0_be_log_io_allocate(struct m0_be_log_io *lio, struct m0_be_io_credit *iocred, uint32_t log_bshift)
M0_INTERNAL int m0_be_log_io_init(struct m0_be_log_io *lio)
M0_INTERNAL void m0_be_io_sched_unlock(struct m0_be_io_sched *sched)
M0_INTERNAL int m0_be_io_allocate(struct m0_be_io *bio, struct m0_be_io_credit *iocred)
struct m0_be_log_sched * lio_sched
M0_INTERNAL void m0_be_io_deallocate(struct m0_be_io *bio)
M0_INTERNAL enum m0_stob_io_opcode m0_be_io_opcode(struct m0_be_io *io)
M0_INTERNAL void m0_be_io_sched_add(struct m0_be_io_sched *sched, struct m0_be_io *io, struct m0_ext *ext, struct m0_be_op *op)
M0_INTERNAL void m0_be_log_sched_fini(struct m0_be_log_sched *sched)
struct m0_be_io lio_be_io
M0_INTERNAL void * m0_alloc_aligned(size_t size, unsigned shift)
M0_INTERNAL void m0_be_log_io_fini(struct m0_be_log_io *lio)
M0_INTERNAL void m0_be_log_sched_lock(struct m0_be_log_sched *sched)
#define M0_BUF_INIT(size, data)
M0_INTERNAL void m0_be_io_reset(struct m0_be_io *bio)
M0_INTERNAL void m0_be_log_sched_unlock(struct m0_be_log_sched *sched)
M0_INTERNAL int m0_be_log_sched_init(struct m0_be_log_sched *sched, struct m0_be_log_sched_cfg *cfg)
M0_INTERNAL void m0_be_log_io_reset(struct m0_be_log_io *lio)
struct m0_be_io_sched lsh_io_sched