OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dcc0cf
)
NVMe: enable IO stats by default
author
Jens Axboe
<axboe@fb.com>
Tue, 18 Nov 2014 15:45:31 +0000
(08:45 -0700)
committer
Jens 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
patch
|
blob
|
history
diff --git
a/drivers/block/nvme-core.c
b/drivers/block/nvme-core.c
index
fb4b205
..
677d7b9
100644
(file)
--- 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;