diff options
author | Jens Axboe <axboe@fb.com> | 2014-11-18 08:45:31 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-11-18 08:45:31 -0700 |
commit | 139768895309c6c1d6913e909e9c9422f81a1640 (patch) | |
tree | dad6800a6ded165a3b48c69567ef6d8a2d1daff3 /drivers/block/nvme-core.c | |
parent | 6dcc0cf6cb3120cedc0d4c12171894f3d6415981 (diff) | |
download | linux-139768895309c6c1d6913e909e9c9422f81a1640.tar.bz2 |
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.c | 1 |
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; |