cfq-iosched: Rename few functions related to selecting workload
authorVivek Goyal <vgoyal@redhat.com>
Wed, 3 Oct 2012 20:56:59 +0000 (16:56 -0400)
committerTejun Heo <tj@kernel.org>
Wed, 9 Jan 2013 16:05:09 +0000 (08:05 -0800)
commit6d816ec7c83871da7c2472af7479d2438e641052
tree39c8593f5524ac5a68e9a031d61ae5ff8a8c5477
parent34b98d03bd6e3f3c67af1e4933aaf19887a61192
cfq-iosched: Rename few functions related to selecting workload

choose_service_tree() selects/sets both wl_class and wl_type.  Rename it to
choose_wl_class_and_type() to make it very clear.

cfq_choose_wl() only selects and sets wl_type. It is easy to confuse
it with choose_st(). So rename it to cfq_choose_wl_type() to make
it clear what does it do.

Just renaming. No functionality change.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
block/cfq-iosched.c