summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>2010-12-17 10:57:14 +0300
committerJens Axboe <jaxboe@fusionio.com>2010-12-17 10:57:14 +0300
commit7278c9c19bd85cf33213a2e0b538a18d3ac8ad00 (patch)
treee080ada1f8cc00fef4600976f8cf489cc94d1c03 /arch
parenta8adbe378b56acd5945df70753c7e8f6fe223304 (diff)
downloadlinux-7278c9c19bd85cf33213a2e0b538a18d3ac8ad00.tar.xz
cfq-iosched: don't check cfqg in choose_service_tree()
When cfq_choose_cfqg() is called in select_queue(), there must be at least one backlogged CFQ queue waiting for dispatching, hence there must be at least one backlogged CFQ group on service tree. So we never call choose_service_tree() with cfqg == NULL. Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions