]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
blk-mq: Add a polling specific stats function
authorStephen Bates <sbates@raithlin.com>
Fri, 7 Apr 2017 12:24:03 +0000 (06:24 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 20 Apr 2017 21:29:40 +0000 (15:29 -0600)
commit720b8ccc45002708c7db1165f72a2d3c6996dba0
tree6021454aba3b5323981ddacdd3fe1b77c6f33f8f
parenta37244e4cc5766af68004ad6249fcd0e4694b441
blk-mq: Add a polling specific stats function

Rather than bucketing IO statisics based on direction only we also
bucket based on the IO size. This leads to improved polling
performance. Update the bucket callback function and use it in the
polling latency estimation.

Signed-off-by: Stephen Bates <sbates@raithlin.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c