diff options
author | Jens Axboe <axboe@fb.com> | 2016-09-16 21:59:14 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-09-16 22:03:04 +0200 |
commit | 703fd1c0f177219e3a84e6c095c31dc566514d81 (patch) | |
tree | 468875ddeecad8922369359e863e100d061995ef /lib/sbitmap.c | |
parent | blk-mq: introduce blk_mq_delay_kick_requeue_list() (diff) | |
download | linux-703fd1c0f177219e3a84e6c095c31dc566514d81.tar.xz linux-703fd1c0f177219e3a84e6c095c31dc566514d81.zip |
blk-mq: account higher order dispatch
We currently account a '0' dispatch, and anything above that still falls
below the range set by BLK_MQ_MAX_DISPATCH_ORDER. If we dispatch more,
we don't account it.
Change the last bucket to be inclusive of anything above the range we
track, and have the sysfs file reflect that by including a '+' in the
output:
$ cat /sys/block/nvme0n1/mq/0/dispatched
0 1006
1 20229
2 1
4 0
8 0
16 0
32+ 0
Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions