From: "Martin J. Bligh" <mbligh@aracnet.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: slpratt@us.ibm.com
Subject: [Bug 1806] New: disks stats not kept for DM (device mapper) devices
Date: Wed, 07 Jan 2004 10:01:34 -0800 [thread overview]
Message-ID: <4340000.1073498494@[10.10.2.4]> (raw)
http://bugme.osdl.org/show_bug.cgi?id=1806
Summary: disks stats not kept for DM (device mapper) devices
Kernel Version: 2.6.0
Status: NEW
Severity: normal
Owner: axboe@suse.de
Submitter: slpratt@us.ibm.com
Distribution:all
Hardware Environment:all
Software Environment:all
Problem Description:
Disk stats as reported through sysfs are empty for all DM (device mapper)
devices. This appears to be due to the fact that the stats are traced via
request structs which are not generated until below the device mapper layer. It
seems it would be possible to add code to device mapper to track the stats since
the actual location of the stats is in the gendisk entry which does exsist for
DM deivices. Only problem I see is in tracking ticks for IO since in the non DM
case this is done by storing a start time in the request struct on driving the
request. Since DM has no request struct (only the BIO) it has no place to
record the start time.
Steps to reproduce:
create a DM device using dmsetup, lvm2 or EVMS. Do IO to device, look at
/sys/block/dm-xxx/stat.
next reply other threads:[~2004-01-07 18:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-07 18:01 Martin J. Bligh [this message]
2004-01-07 20:04 ` Kevin Corry
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='4340000.1073498494@[10.10.2.4]' \
--to=mbligh@aracnet.com \
--cc=linux-kernel@vger.kernel.org \
--cc=slpratt@us.ibm.com \
/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®