[PATCH v2 0/2] Get diskio statistics from the hw queues in blk-mq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently, crash doesn't support to display disk I/O statistics
for blk-mq devices. The patchset will implement it by parsing
the bitmap, it includes two patches:

[1] [PATCH 1/2] Support for "dev -d|-D" options by parsing bitmap in
 blk-mq layer

[2] [PATCH 2/2] Fix for "dev -d|-D" options to correctly display disk I/O
 statistics on linux v5.18-rc1

Related kernel commits:
[1] commit <9a14d6ce4135> ("block: remove debugfs blk_mq_ctx
    dispatched/merged/completed attributes")
[2] commit <4e5cc99e1e48> ("blk-mq: manage hctx map via xarray")

The patchset is tested on v5.17.0-rc8 and the latest kernel 5.18.0-rc4.

Note:
The patchset depends on the implementation of sbitmap.c, so need to
apply another patchset: "[PATCH 0/4] Fix for "sbitmapq" command" before
testing it, otherwise it won't work.

Link: https://www.mail-archive.com/crash-utility@xxxxxxxxxx/msg09177.html

Lianbo Jiang (2):
  Support for "dev -d|-D" options by parsing bitmap in blk-mq layer
  Fix for "dev -d|-D" options to correctly display disk I/O statistics
    on linux v5.18-rc1

 defs.h    |  13 +++
 dev.c     | 316 +++++++++++++++++++++++++++++++++++++++++++++++-------
 symbols.c |  26 +++++
 3 files changed, 316 insertions(+), 39 deletions(-)

-- 
2.20.1

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility
Contribution Guidelines: https://github.com/crash-utility/crash/wiki




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux