diff options
author | Tejun Heo <tj@kernel.org> | 2012-03-20 02:10:57 +0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-03-20 15:47:47 +0400 |
commit | abede6da27d9bd62ea9512830c83e32b3ee1104c (patch) | |
tree | 6ddd5ddec15f0b5a8c9c1905bbb57d5a164d37ca /fs/fcntl.c | |
parent | 9a9e8a26da4c2c5ddc60999bdea957935fb22b6b (diff) | |
download | linux-abede6da27d9bd62ea9512830c83e32b3ee1104c.tar.xz |
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 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions