mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Cameron <smcameron@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Problem with diskstats (kernel 2.6.15-gentoo-r1)
Date: Mon, 3 Apr 2006 06:35:45 -0700 (PDT)	[thread overview]
Message-ID: <20060403133545.52779.qmail@web33012.mail.mud.yahoo.com> (raw)


Toon van der Pas wrote:
 
> This morning I discovered a strange problem with the output of
> /proc/diskstats; the cciss driver only produces the first 4 fields:
>

It's working correctly so far as I can tell. 
Check block/genhd.c, diskstat_show().

It prints per-disk and per-partition information.
There are 4 fields printed for each partition, but more
fields per each disk.  (check your output again, and note
the lines for cciss/c0d0 and cciss/c0d1 (the disks) vs.
the lines for cciss/c0d?p? (the partitions.) Most of your 
devices in there don't have any partition information so 
you just see the per-disk lines, not the per-partition lines
since there are no partitions.  Cciss looks different
than the others because you actually have partitions on that 
device.

-- steve



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

             reply	other threads:[~2006-04-03 13:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-03 13:35 Stephen Cameron [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-04-04 13:51 Miller, Mike (OS Dev)
2006-04-01  7:39 Toon van der Pas

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=20060403133545.52779.qmail@web33012.mail.mud.yahoo.com \
    --to=smcameron@yahoo.com \
    --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®