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
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")
[3] commit <3301bc53358a> ("lib/sbitmap: kill 'depth' from
sbitmap_word")
The patchset is tested on v5.17.0-rc8 and the latest kernel 5.18.0-rc4.
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
defs.h | 14 ++
dev.c | 373 ++++++++++++++++++++++++++++++++++++++++++++++++------
symbols.c | 28 ++++
3 files changed, 376 insertions(+), 39 deletions(-)
--
2.20.1