]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cfq-iosched: More renaming to better represent wl_class and wl_type
authorVivek Goyal <vgoyal@redhat.com>
Wed, 3 Oct 2012 20:56:57 +0000 (16:56 -0400)
committerTejun Heo <tj@kernel.org>
Wed, 9 Jan 2013 16:05:09 +0000 (08:05 -0800)
commit4d2ceea4cb86060b03b2aa4826b365320bc78651
tree2d848153c4feb146f603b3d2273f9a486febe992
parent3bf10fea3ba3804090e82aa59fabf25f43fa74c2
cfq-iosched: More renaming to better represent wl_class and wl_type

Some more renaming. Again making the code uniform w.r.t use of
wl_class/class to represent IO class (RT, BE, IDLE) and using
wl_type/type to represent subclass (SYNC, SYNC-IDLE, ASYNC).

At places this patch shortens the string "workload" to "wl".
Renamed "saved_workload" to "saved_wl_type". Renamed
"saved_serving_class" to "saved_wl_class".

For uniformity with "saved_wl_*" variables, renamed "serving_class"
to "serving_wl_class" and renamed "serving_type" to "serving_wl_type".

Again, just trying to improve upon code uniformity and improve
readability. No functional change.

v2:
- Restored the usage of keyword "service" based on Jeff Moyer's feedback.

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