summaryrefslogtreecommitdiff
path: root/drivers/block/nvme-core.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-11-18 18:45:31 +0300
committerJens Axboe <axboe@fb.com>2014-11-18 18:45:31 +0300
commit139768895309c6c1d6913e909e9c9422f81a1640 (patch)
treedad6800a6ded165a3b48c69567ef6d8a2d1daff3 /drivers/block/nvme-core.c
parent6dcc0cf6cb3120cedc0d4c12171894f3d6415981 (diff)
downloadlinux-139768895309c6c1d6913e909e9c9422f81a1640.tar.xz
NVMe: enable IO stats by default
Before the blk-mq conversion they were on by default, we should not change behavior there. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/nvme-core.c')
-rw-r--r--drivers/block/nvme-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c
index fb4b205317c6..677d7b9ff454 100644
--- a/drivers/block/nvme-core.c
+++ b/drivers/block/nvme-core.c
@@ -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;