blk-mq: scalable per-ctx/hctx request completion stats mq-stats
authorJens Axboe <axboe@fb.com>
Tue, 10 Nov 2015 21:52:24 +0000 (14:52 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 11 Nov 2015 02:45:30 +0000 (19:45 -0700)
commit8cb99eeb9fbc557c9387cc3bf23dd2a420cec533
treefc7fe67cd55c8e84991d838cd9e05fde9cd792fd
parent2df4ee78d042ee3d17cbebd51e31b300286549dc
blk-mq: scalable per-ctx/hctx request completion stats

Tracked on a per cpu/ctx basis, but summed on a per hctx basis.
Could trivially be extended to per queue, which would just sum
the per hctx stats.

Not done yet. The stats should work, and there's the beginnings
of doing stat windows. Additionally, might be worth tracking
depths with the stats.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-sysfs.c
block/blk-mq.c
block/blk-mq.h
include/linux/blkdev.h