Motr  M0
log_sched.c File Reference
#include "lib/trace.h"
#include "be/log_sched.h"
#include "be/io_sched.h"
#include "lib/memory.h"
#include "lib/errno.h"
Include dependency graph for log_sched.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_BE
 

Functions

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_sched_fini (struct m0_be_log_sched *sched)
 
M0_INTERNAL void m0_be_log_sched_lock (struct m0_be_log_sched *sched)
 
M0_INTERNAL void m0_be_log_sched_unlock (struct m0_be_log_sched *sched)
 
M0_INTERNAL bool m0_be_log_sched_is_locked (struct m0_be_log_sched *sched)
 
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 int m0_be_log_io_init (struct m0_be_log_io *lio)
 
M0_INTERNAL void m0_be_log_io_fini (struct m0_be_log_io *lio)
 
M0_INTERNAL void m0_be_log_io_reset (struct m0_be_log_io *lio)
 
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 void m0_be_log_io_deallocate (struct m0_be_log_io *lio)
 
M0_INTERNAL struct m0_bufvecm0_be_log_io_bufvec (struct m0_be_log_io *lio)
 
M0_INTERNAL struct m0_be_iom0_be_log_io_be_io (struct m0_be_log_io *lio)
 
M0_INTERNAL void m0_be_log_io_user_data_set (struct m0_be_log_io *lio, void *data)
 
M0_INTERNAL void * m0_be_log_io_user_data (struct m0_be_log_io *lio)
 
M0_INTERNAL bool m0_be_log_io_is_empty (struct m0_be_log_io *lio)
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_BE

Definition at line 23 of file log_sched.c.