Motr
M0
|
#include <ioq.h>
Data Fields | |
bool | ioq_use_directio |
io_context_t | ioq_ctx |
struct m0_atomic64 | ioq_avail |
int | ioq_queued |
struct m0_thread | ioq_thread [M0_STOB_IOQ_NR_THREADS] |
struct m0_mutex | ioq_lock |
struct m0_queue | ioq_queue |
struct m0_semaphore | ioq_stop_sem [M0_STOB_IOQ_NR_THREADS] |
struct m0_timer | ioq_stop_timer [M0_STOB_IOQ_NR_THREADS] |
struct m0_timer_locality | ioq_stop_timer_loc [M0_STOB_IOQ_NR_THREADS] |
struct m0_atomic64 ioq_avail |
io_context_t ioq_ctx |
Set up when domain is being shut down. adieu worker threads (ioq_thread()) check this field on each iteration.
Ring buffer shared between adieu and the kernel.
It contains adieu request fragments currently being executed by the kernel. The kernel delivers AIO completion events through this buffer.
struct m0_mutex ioq_lock |
struct m0_queue ioq_queue |
struct m0_semaphore ioq_stop_sem[M0_STOB_IOQ_NR_THREADS] |
struct m0_timer ioq_stop_timer[M0_STOB_IOQ_NR_THREADS] |
struct m0_timer_locality ioq_stop_timer_loc[M0_STOB_IOQ_NR_THREADS] |
struct m0_thread ioq_thread[M0_STOB_IOQ_NR_THREADS] |
bool ioq_use_directio |
Controls whether to use O_DIRECT flag for open(2). Can be set with m0_stob_ioq_directio_setup(). Initial value is set to 'false'.