search for: elevator_queue

Displaying 2 results from an estimated 2 matches for "elevator_queue".

2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...!q->elevator->type->ops.elevator_dispatch_fn(q, 0)) return NULL; } } -static inline void elv_activate_rq(struct request_queue *q, struct request *rq) +static inline void elv_activate_rq(struct request *rq) { + struct request_queue *q = rq->queue_ctx->queue; struct elevator_queue *e = q->elevator; if (e->type->ops.elevator_activate_req_fn) e->type->ops.elevator_activate_req_fn(q, rq); } -static inline void elv_deactivate_rq(struct request_queue *q, struct request *rq) +static inline void elv_deactivate_rq(struct request *rq) { + struct request_queu...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...!q->elevator->type->ops.elevator_dispatch_fn(q, 0)) return NULL; } } -static inline void elv_activate_rq(struct request_queue *q, struct request *rq) +static inline void elv_activate_rq(struct request *rq) { + struct request_queue *q = rq->queue_ctx->queue; struct elevator_queue *e = q->elevator; if (e->type->ops.elevator_activate_req_fn) e->type->ops.elevator_activate_req_fn(q, rq); } -static inline void elv_deactivate_rq(struct request_queue *q, struct request *rq) +static inline void elv_deactivate_rq(struct request *rq) { + struct request_queu...