diff options
author | 2013-11-19 09:25:07 -0700 | |
---|---|---|
committer | 2013-11-19 09:25:07 -0700 | |
commit | 94eddfbeaafa3e8040a2c47d370dea0e58e76941 (patch) | |
tree | 52cdf7a26b27d9cab3b1eba9b424a6d1432bdf8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bio: fix argument of __bio_add_page() for max_sectors > 0xffff (diff) | |
download | linux-dev-94eddfbeaafa3e8040a2c47d370dea0e58e76941.tar.xz linux-dev-94eddfbeaafa3e8040a2c47d370dea0e58e76941.zip |
blk-mq: ensure that we set REQ_IO_STAT so diskstats work
If disk stats are enabled on the queue, a request needs to
be marked with REQ_IO_STAT for accounting to be active on
that request. This fixes an issue with virtio-blk not
showing up in /proc/diskstats after the conversion to
blk-mq.
Add QUEUE_FLAG_MQ_DEFAULT, setting stats and same cpu-group
completion on by default.
Reported-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions