drive_stat_acct() in drivers/block/ll_rw_blk.c gathers the data,
kstat_read_proc() in fs/proc/proc_misc.c implements the output routine.
Format is (device major, disk index):(sum of all io requests,
sum of read io requests, sum of blocks read, sum of write io requests,
sum of blocks written)
Daniel.
-
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/