Motr  M0
elevator.c File Reference
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "lib/assert.h"
#include "motr/magic.h"
#include "desim/elevator.h"
Include dependency graph for elevator.c:

Go to the source code of this file.

Data Structures

struct  io_req
 

Functions

 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)
 
 M0_TL_DEFINE (req, static, struct io_req)
 
static void elevator_submit (struct elevator *el, enum storage_req_type type, sector_t sector, unsigned long count)
 
static void elevator_go (struct elevator *el)
 
M0_INTERNAL void el_end_io (struct storage_dev *dev)
 
M0_INTERNAL void elevator_init (struct elevator *el, struct storage_dev *dev)
 
M0_INTERNAL void elevator_fini (struct elevator *el)
 
M0_INTERNAL void elevator_io (struct elevator *el, enum storage_req_type type, sector_t sector, unsigned long count)