From: Jens Axboe Date: Tue, 19 Nov 2013 16:25:07 +0000 (-0700) Subject: blk-mq: ensure that we set REQ_IO_STAT so diskstats work X-Git-Tag: v3.13-rc1~30^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94eddfbeaafa3e8040a2c47d370dea0e58e76941;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed