search for: may_queue

Displaying 4 results from an estimated 4 matches for "may_queue".

2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...q = NULL; - struct request_list *rl = &q->rq; struct elevator_type *et; - struct io_context *ioc; struct io_cq *icq = NULL; const bool is_sync = rw_is_sync(rw_flags) != 0; - bool retried = false; + const bool drop_lock = (gfp_mask & __GFP_WAIT) != 0; + struct io_context *ioc; int may_queue; -retry: + et = q->elevator->type; ioc = current->io_context; if (unlikely(blk_queue_dead(q))) return NULL; may_queue = elv_may_queue(q, rw_flags); if (may_queue == ELV_MQUEUE_NO) goto rq_starved; if (rl->count[is_sync]+1 >= queue_congestion_on_threshold(q)) {...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...q = NULL; - struct request_list *rl = &q->rq; struct elevator_type *et; - struct io_context *ioc; struct io_cq *icq = NULL; const bool is_sync = rw_is_sync(rw_flags) != 0; - bool retried = false; + const bool drop_lock = (gfp_mask & __GFP_WAIT) != 0; + struct io_context *ioc; int may_queue; -retry: + et = q->elevator->type; ioc = current->io_context; if (unlikely(blk_queue_dead(q))) return NULL; may_queue = elv_may_queue(q, rw_flags); if (may_queue == ELV_MQUEUE_NO) goto rq_starved; if (rl->count[is_sync]+1 >= queue_congestion_on_threshold(q)) {...
2008 Nov 12
15
[PATCH][RFC][12+2][v3] A expanded CFQ scheduler for cgroups
This patchset expands traditional CFQ scheduler in order to support cgroups, and improves old version. Improvements are as following. * Modularizing our new CFQ scheduler. The expanded CFQ scheduler is registered/unregistered as new I/O elevator scheduler called "cfq-cgroups". By this, the traditional CFQ scheduler, which does not handle cgroups, and our new CFQ
2008 Nov 12
15
[PATCH][RFC][12+2][v3] A expanded CFQ scheduler for cgroups
This patchset expands traditional CFQ scheduler in order to support cgroups, and improves old version. Improvements are as following. * Modularizing our new CFQ scheduler. The expanded CFQ scheduler is registered/unregistered as new I/O elevator scheduler called "cfq-cgroups". By this, the traditional CFQ scheduler, which does not handle cgroups, and our new CFQ