On Wed, Nov 27, 2013 at 06:42:38PM -0500, Tejun Heo wrote: > In preparation of conversion to kernfs, cgroup file handling is > updated so that it can be easily mapped to kernfs. This patch > replaces cftype->read_seq_string() with cftype->seq_show() which is > not limited to single_open() operation and will map directcly to > kernfs seq_file interface. > > The conversions are mechanical. As ->seq_show() doesn't have @css and > @cft, the functions which make use of them are converted to use > seq_css() and seq_cft() respectively. In several occassions, e.f. if > it has seq_string in its name, the function name is updated to fit the > new method better. > > This patch does not introduce any behavior changes. > > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx> > Cc: Jens Axboe <axboe@xxxxxxxxx> > Cc: Vivek Goyal <vgoyal@xxxxxxxxxx> > Cc: Ingo Molnar <mingo@xxxxxxxxxx> > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > Cc: Johannes Weiner <hannes@xxxxxxxxxxx> > Cc: Michal Hocko <mhocko@xxxxxxx> > Cc: Balbir Singh <bsingharora@xxxxxxxxx> > Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> > Cc: Neil Horman <nhorman@xxxxxxxxxxxxx> > Cc: Daniel Wagner <daniel.wagner@xxxxxxxxxxxx> > Cc: Aristeu Rozanski <arozansk@xxxxxxxxxx> > --- > block/blk-throttle.c | 35 ++++++------- > block/cfq-iosched.c | 131 ++++++++++++++++++++-------------------------- Looks good to me for blk-throttle and cfq-iosched part. Acked-by: Vivek Goyal <vgoyal@xxxxxxxxxx> Thanks Vivek _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/containers