static void elevator_submit(struct elevator *el, enum storage_req_type type, sector_t sector, unsigned long count)
static struct io_request req
M0_INTERNAL void sim_chan_fini(struct sim_chan *chan)
M0_INTERNAL struct sim_thread * sim_thread_current(void)
M0_INTERNAL void elevator_init(struct elevator *el, struct storage_dev *dev)
M0_INTERNAL void sim_chan_broadcast(struct sim_chan *chan)
M0_INTERNAL void sim_chan_init(struct sim_chan *chan, char *format,...)
M0_TL_DESCR_DEFINE(req, "io requests", static, struct io_req, ir_linkage, ir_magic, M0_DESIM_IO_REQ_MAGIC, M0_DESIM_IO_REQ_HEAD_MAGIC)
unsigned long long sector_t
M0_INTERNAL void el_end_io(struct storage_dev *dev)
M0_INTERNAL void sim_chan_wait(struct sim_chan *chan, struct sim_thread *thread)
M0_INTERNAL void elevator_io(struct elevator *el, enum storage_req_type type, sector_t sector, unsigned long count)
struct storage_dev * e_dev
storage_end_io_t sd_end_io
M0_INTERNAL void elevator_fini(struct elevator *el)
static struct elevator el
struct m0_tlink ir_linkage
static void elevator_go(struct elevator *el)
storage_submit_t sd_submit
#define M0_IMPOSSIBLE(fmt,...)
M0_TL_DEFINE(req, static, struct io_req)