aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-12-14 00:33:41 +0100
committerZiyan <jaraidaniel@gmail.com>2016-01-08 10:37:00 +0100
commita6d1b8ef7ede27d73b6182b5913799ec709de249 (patch)
tree9e4b2cc1459cff85c21240ae9e16ef2928c2d295 /block/blk-ioc.c
parent17e0ebdced8d333b583fb6cdfef5bd2a3fce5a4e (diff)
downloadkernel_samsung_tuna-a6d1b8ef7ede27d73b6182b5913799ec709de249.tar.gz
kernel_samsung_tuna-a6d1b8ef7ede27d73b6182b5913799ec709de249.tar.bz2
kernel_samsung_tuna-a6d1b8ef7ede27d73b6182b5913799ec709de249.zip
block, cfq: move cfqd->icq_list to request_queue and add request->elv.icq
Most of icq management is about to be moved out of cfq into blk-ioc. This patch prepares for it. * Move cfqd->icq_list to request_queue->icq_list * Make request explicitly point to icq instead of through elevator private data. ->elevator_private[3] is replaced with sub struct elv which contains icq pointer and priv[2]. cfq is updated accordingly. * Meaningless clearing of ->elevator_private[0] removed from elv_set_request(). At that point in code, the field was guaranteed to be %NULL anyway. This patch doesn't introduce any functional change. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions