mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Bug 1806] New: disks stats not kept for DM (device mapper) devices
@ 2004-01-07 18:01 Martin J. Bligh
  2004-01-07 20:04 ` Kevin Corry
  0 siblings, 1 reply; 2+ messages in thread
From: Martin J. Bligh @ 2004-01-07 18:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: slpratt

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-07 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-07 18:01 [Bug 1806] New: disks stats not kept for DM (device mapper) devices Martin J. Bligh
2004-01-07 20:04 ` Kevin Corry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome