* QUESTION: 2.5 adds 1 to systats even for non I/O operations
@ 2003-05-07 20:34 Ricardo Galli
0 siblings, 0 replies; only message in thread
From: Ricardo Galli @ 2003-05-07 20:34 UTC (permalink / raw)
To: linux-kernel
I'm working in a daemon to control cpufreq and devices
(http://freshmeat.net/projects/cpudyn/)
I've just noticed that kernel 2.5 always add one (1) to /proc/diskstats
and /sys/block/hdX/stat "reads" field for ioctl's requests that don't
generate data I/O.
For example for checking the status of the disk (standby, active, sleep)
or putting the disk in standby.
Is that correct? Do I have to take it in account always?
Thanks in advance.
--
ricardo galli GPG id C8114D34
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-07 20:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07 20:34 QUESTION: 2.5 adds 1 to systats even for non I/O operations Ricardo Galli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).