Re: [PATCH 2/6] cfq-iosched: More renaming to better representwl_class and wl_type

From: Tejun Heo
Date: Thu Dec 06 2012 - 14:24:19 EST


On Wed, Oct 03, 2012 at 04:56:57PM -0400, Vivek Goyal wrote:
> 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@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/