It's currently undergoing a bit of change.
In 2.5.67 all IO activity is monitored by opening and reading
/sys/block/hda/stat. This certainly doesn't scale when you have thousands of
disks, so there's a patch in -mm which performs runtime aggregation of global
stats and exposes that via /proc/diskstats.
So if you want to monitor the "global" IO activity, you don't need to open all
those sysfs files.
I don't know if the aggregate disk stats patch is ready to go yet. I'm
awaiting testing results, conversion of userspace tools, etc. I just plonked
it in there and haven't heard anything since.
As far as I know, neither the format of the sysfs file nor the format of
/proc/diskstats is documented anywhere.
Perhaps Rick can prepare a description for inclusion under Dcumentation/
somewhere?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/