lkml.org 
[lkml]   [2003]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectQUESTION: 2.5 adds 1 to systats even for non I/O operations
Date
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
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [from the cache]
©2003-2011 Jasper Spaans