blk-mq: Fix poll_stat for new size-based bucketing.
authorStephen Bates <sbates@raithlin.com>
Thu, 20 Apr 2017 22:59:11 +0000 (16:59 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 20 Apr 2017 23:10:48 +0000 (17:10 -0600)
commit0206319fdfee7c36b97aa6c0561bab206132f813
treeb7338a78b1162079ed46003cadb5206d7672e235
parentb00c53e8f411a0b2be036c41852c6858541afbf7
blk-mq: Fix poll_stat for new size-based bucketing.

Fixes an issue where the size of the poll_stat array in request_queue
does not match the size expected by the new size based bucketing for
IO completion polling.

Fixes: 720b8ccc4500 ("blk-mq: Add a polling specific stats function")
Signed-off-by: Stephen Bates <sbates@raithlin.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-debugfs.c
block/blk-mq.c
include/linux/blkdev.h