blk-mq queue stats
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesNew
- v15 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | blk-stat: rename batch to timeblock/ include/ | +4 | 0 replies | |
| 2/5 | block: keep track of per-device io sizes in statsblock/ block/ block/ +4 more | +16 | 0 replies | |
| 3/5 | Use blk-stat infrastructure to collect per queue device statsblock/ block/ block/ +1 more | +100 | 0 replies | |
| 4/5 | Export block dev stats to sysfsblock/ | +23 | 0 replies | |
| 5/5 | Expand block stats to export number of of requests per bucketblock/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] blk-mq queue stats
From: Jes Sorensen <[email protected]>
Hi,
This patchset adds per-device histogram statistics of read, write, and discard request sizes, as well as number of requests for each bucket. It uses the blk-stat infrastructure and only collects stats for devices for which it has been explicitly enabled by writing 1 to /sys/block/<dev>/queue/histstat
In addition it builds on top of two patches I recklessly stole from Josef - thanks!
Thoughts or oppinions on this approach? I am not married to the naming, so happy to change that if wanted.
v2 updated to apply against 5.2-rc2
Thanks,
Jes
Jes Sorensen (3):
Use blk-stat infrastructure to collect per queue device stats Export block dev stats to sysfs
Expand block stats to export number of of requests per bucket
Josef Bacik (2):
blk-stat: rename batch to time
block: keep track of per-device io sizes in stats
block/blk-iolatency.c | 2 +- block/blk-mq.c | 56 ++++++++++++++++++++++++++++-- block/blk-stat.c | 16 +++++---- block/blk-stat.h | 3 +- block/blk-sysfs.c | 71 +++++++++++++++++++++++++++++++++++++++ block/blk-throttle.c | 3 +- include/linux/blk_types.h | 3 +- include/linux/blkdev.h | 12 +++++-- 8 files changed, 149 insertions(+), 17 deletions(-)
Signature · 1 line
2.17.1