diff options
author | Tejun Heo | 2012-04-01 14:38:43 -0700 |
---|---|---|
committer | Tejun Heo | 2012-04-01 14:38:43 -0700 |
commit | c4682aec9caaca1fcfd1dd4b59cef47af22cbdc6 (patch) | |
tree | 6e20981d877cf3dab29eb265f36edbd309f23761 /block/scsi_ioctl.c | |
parent | 627f29f48158c3088cc55a25d8650cae455ff63b (diff) |
blkcg: restructure configuration printing
Similarly to the previous stat restructuring, this patch restructures
conf printing code such that,
* Conf printing uses the same helpers as stat.
* Printing function doesn't require hardcoded switching on the config
being printed. Note that this isn't complete yet for throttle
confs. The next patch will convert setting for these confs and will
complete the transition.
* Printing uses read_seq_string callback (other methods will be phased
out).
Note that blkio_group_conf.iops[2] is changed to u64 so that they can
be manipulated with the same functions. This is transitional and will
go away later.
After this patch, per-device configurations - weight, bps and iops -
use __blkg_prfill_u64() for printing which uses white space as
delimiter instead of tab.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions