|
Motr
M0
|
#include <libaio.h>#include "lib/types.h"#include "lib/atomic.h"#include "lib/thread.h"#include "lib/mutex.h"#include "lib/queue.h"#include "lib/timer.h"#include "lib/semaphore.h"
Go to the source code of this file.
Data Structures | |
| struct | m0_stob_ioq |
Macros | |
| #define | __MOTR_STOB_IOQ_H__ |
Enumerations | |
| enum | { M0_STOB_IOQ_NR_THREADS = 8, M0_STOB_IOQ_RING_SIZE = 1024, M0_STOB_IOQ_BATCH_IN_SIZE = 8, M0_STOB_IOQ_BATCH_OUT_SIZE = 8 } |
Functions | |
| M0_INTERNAL int | m0_stob_ioq_init (struct m0_stob_ioq *ioq) |
| M0_INTERNAL void | m0_stob_ioq_fini (struct m0_stob_ioq *ioq) |
| M0_INTERNAL void | m0_stob_ioq_directio_setup (struct m0_stob_ioq *ioq, bool use_directio) |
| M0_INTERNAL bool | m0_stob_ioq_directio (struct m0_stob_ioq *ioq) |
| M0_INTERNAL uint32_t | m0_stob_ioq_bshift (struct m0_stob_ioq *ioq) |
| M0_INTERNAL m0_bcount_t | m0_stob_ioq_bsize (struct m0_stob_ioq *ioq) |
| M0_INTERNAL m0_bcount_t | m0_stob_ioq_bmask (struct m0_stob_ioq *ioq) |
| M0_INTERNAL int | m0_stob_linux_io_init (struct m0_stob *stob, struct m0_stob_io *io) |