Bug 168483

Summary: FEAT: [RHEL4 U3] kernel dm: Statistic information about dm devices (*)
Product: Red Hat Enterprise Linux 4 Reporter: Issue Tracker <tao>
Component: kernelAssignee: Alasdair Kergon <agk>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: jbaron, jnomura, kueda, milan.kerslager, tao, tkincaid
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: RHSA-2006-0132 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-07 19:59:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 168429, 173398    
Description Flags
test cases for dm diskstat none

Comment 8 Alasdair Kergon 2005-10-21 13:25:03 UTC
This feature request can be broken down into 4 items:
  1) Kernel changes for dm to use the existing kernel I/O stats mechanism;
  2) A new kernel dm module to gather sophisticated customised stats;
  3) Simple userspace tools changes to make it easy to use (2);
  4) Sophisticated userspace tools (and gui) changes to get the best out of (2).

I'm going to use this bugzilla to cover 1 and 2 ('kernel' component).

Someone might like to raise new ones to cover 3 and 4 (device-mapper / lvm2 /
lvm2 GUI components).

Comment 9 Alasdair Kergon 2005-10-21 13:27:34 UTC
The patch for (1) is simple - needs a review, but certainly feasible for U3.

The patch for (2) also exists but is more complex - not reviewed properly yet,
API needs more work, but might be possible to include it in some form in U3 if
there's time.

Comment 12 Alasdair Kergon 2005-11-16 16:29:10 UTC
*** Bug 143390 has been marked as a duplicate of this bug. ***

Comment 17 Alasdair Kergon 2005-11-18 15:40:29 UTC
*** Bug 170693 has been marked as a duplicate of this bug. ***

Comment 18 Jun'ichi Nomura (Red Hat) 2005-11-18 19:44:02 UTC
Created attachment 121243 [details]
test cases for dm diskstat

Test cases for dm diskstat.
To complete this test, timing information collected by
BZ#173398 is also needed.
- Criteria for read_ticks, write_ticks, io_ticks may be
  too strict and sometimes cause false negative.
  Needs several trials to avoid it.
- There may be better/finer criterion for time_in_queue.

Comment 27 Red Hat Bugzilla 2006-03-07 19:59:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.