aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ioprio.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-03-19 15:10:57 -0700
committerJens Axboe <axboe@kernel.dk>2012-03-20 12:47:47 +0100
commitabede6da27d9bd62ea9512830c83e32b3ee1104c (patch)
tree6ddd5ddec15f0b5a8c9c1905bbb57d5a164d37ca /include/linux/ioprio.h
parentblkcg: add blkcg->id (diff)
downloadlinux-dev-abede6da27d9bd62ea9512830c83e32b3ee1104c.tar.xz
linux-dev-abede6da27d9bd62ea9512830c83e32b3ee1104c.zip
cfq: pass around cfq_io_cq instead of io_context
Now that io_cq is managed by block core and guaranteed to exist for any in-flight request, it is easier and carries more information to pass around cfq_io_cq than io_context. This patch updates cfq_init_prio_data(), cfq_find_alloc_queue() and cfq_get_queue() to take @cic instead of @ioc. This change removes a duplicate cfq_cic_lookup() from cfq_find_alloc_queue(). This change enables the use of cic-cached ioprio in the next patch. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/ioprio.h')
0 files changed, 0 insertions, 0 deletions