Re: [Regression x2, 3.13-git] virtio block mq hang, iostat bustedon virtio devices

From: Jens Axboe
Date: Tue Nov 19 2013 - 11:17:12 EST


On 11/19/2013 09:09 AM, Christoph Hellwig wrote:
> On Tue, Nov 19, 2013 at 09:05:09AM -0700, Jens Axboe wrote:
>> I have queued up the below.
>
> I don't think that will work. We only set QUEUE_FLAG_IO_STAT in
> blk_init_allocated_queue, which doesn't get called from
> blk_mq_init_queue. That being said I really don't understand why we
> need to have the QUEUE_FLAG_IO_STAT flag at all.

Hmm good point, we need to init those flags there too. I'll get this
properly tested.

Back when the accounting was initially made optional, there was about a
1% reduction in overhead with it off. That's why the tunable is there.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/