[PATCH] bootcharts diskstat support (was Re: boot the eeepc in 5 seconds)
alessandro.iurlano at gmail.com
Fri Oct 24 02:23:32 CEST 2008
On Fri, Oct 24, 2008 at 1:51 AM, Adrian-Ken Rueegsegger <ken at gmx.ch> wrote:
> > I've noticed that Alessandro complains there are no disk (flash) usage
> > statistics in bootcharts. I've cooked up an (untested) patch to fix this
> > both mtd and mmcblk devices:
> Thanks for the patch. Disk throughput/utilization is still not showing
> up though. AFAIK mtd devices do not write anything to /proc/diskstats so
> support for that would need to be added to the kernel in order to have
> such statistics.
Yes, the thing that I noticed was that /proc/diskstats has no value for the
and thus bootchart cannot show anything at all. I asked mtd developers for
how to implement that to try to do it myself but couldn't as my knowledge of
linux kernel is
very limited and did not have enough time to learn. But I think that adding
those stats could
be easily done by an experienced kernel developer.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel