From: Tejun Heo Date: Mon, 19 Mar 2012 22:10:57 +0000 (-0700) Subject: cfq: pass around cfq_io_cq instead of io_context X-Git-Tag: v3.5-rc1~42^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abede6da27d9bd62ea9512830c83e32b3ee1104c;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed