NVMe: enable IO stats by default
authorJens Axboe <axboe@fb.com>
Tue, 18 Nov 2014 15:45:31 +0000 (08:45 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 18 Nov 2014 15:45:31 +0000 (08:45 -0700)
Before the blk-mq conversion they were on by default, we should
not change behavior there.

Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c

index fb4b205317c68c369a8a8dd94f63e7314c6714b8..677d7b9ff454dca2c3cf97545dc3ed43830c9c7a 100644 (file)
@@ -1889,7 +1889,6 @@ static struct nvme_ns *nvme_alloc_ns(struct nvme_dev *dev, unsigned nsid,
        queue_flag_set_unlocked(QUEUE_FLAG_NOMERGES, ns->queue);
        queue_flag_set_unlocked(QUEUE_FLAG_NONROT, ns->queue);
        queue_flag_set_unlocked(QUEUE_FLAG_SG_GAPS, ns->queue);
-       queue_flag_clear_unlocked(QUEUE_FLAG_IO_STAT, ns->queue);
        ns->dev = dev;
        ns->queue->queuedata = ns;