[PATCH 0/5] RFC blk-mq device stats

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

 



From: Jes Sorensen <jsorensen@xxxxxx>

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.

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(-)

-- 
2.17.1




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux