linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: KELEMEN Peter <Peter.Kelemen@cern.ch>
To: linux-raid@vger.kernel.org
Subject: Re: /proc/partitions
Date: Mon, 20 Dec 2004 12:49:39 +0100	[thread overview]
Message-ID: <20041220114939.GA20243@inara.maison.net> (raw)
In-Reply-To: <Pine.LNX.4.56.0412201046050.4389@lion.drogon.net>

* Gordon Henderson (gordon@drogon.net) [20041220 10:50]:

> Is there any plans to make the entries in /proc/partitions
> return anything sensible for the md devices?

AFACT not.  Current consensus is that md devices don't do I/O,
they only dispatch I/O to lower layer devices, hence no stats.
(OTOH, I personally was in a situation at least once when it
would have been very useful -- regardless of the obvious double
accounting.)

> If not, is there any other way to get some stats on reading &
> writing each md device?

Parse /proc/mdstat and cook up your own stat counters based on the
md member devices' stats.

Peter

PS: 2.6.x same thing

-- 
    .+'''+.         .+'''+.         .+'''+.         .+'''+.         .+''
 Kelemen Péter     /       \       /       \     Peter.Kelemen@cern.ch
.+'         `+...+'         `+...+'         `+...+'         `+...+'
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2004-12-20 11:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <037401c4cf3b$ee75bc90$030a0a0a@musicroom>
2004-11-21  4:33 ` Good news / bad news - The joys of RAID Guy
2004-11-22 14:13   ` Yu Chen
2004-11-22 14:34     ` Gordon Henderson
2004-11-22 15:52       ` Good news / bad news - The joys of RAID - backups Alvin Oga
2004-11-22 17:56         ` Guy
2004-11-22 18:29           ` Alvin Oga
2004-11-22 19:48             ` Guy
2004-11-22 17:51       ` Good news / bad news - The joys of RAID Guy
2004-11-22 23:26         ` Gordon Henderson
2004-11-22 23:48           ` Guy
2004-11-23  0:09             ` Måns Rullgård
2004-11-23 15:33             ` Gordon Henderson
2004-11-23  0:17     ` berk walker
2004-11-23  9:24       ` Robin Bowes
2004-11-23 12:31         ` Bob Hillegas
2004-11-23 13:00           ` berk walker
2004-12-20 10:50           ` /proc/partitions Gordon Henderson
2004-12-20 11:49             ` KELEMEN Peter [this message]
2004-12-20 12:32               ` /proc/partitions Gordon Henderson
2004-12-20 22:26               ` /proc/partitions Neil Brown

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=20041220114939.GA20243@inara.maison.net \
    --to=peter.kelemen@cern.ch \
    --cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).