mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ricardo Galli <gallir@uib.es>
To: linux-kernel@vger.kernel.org
Subject: QUESTION: 2.5 adds 1 to systats even for non I/O operations
Date: Wed, 7 May 2003 22:34:00 +0200	[thread overview]
Message-ID: <200305072234.00733.gallir@uib.es> (raw)

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

                 reply	other threads:[~2003-05-07 20:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200305072234.00733.gallir@uib.es \
    --to=gallir@uib.es \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®