diff options
author | Keith Busch <keith.busch@intel.com> | 2017-04-04 18:18:12 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-04-21 16:41:46 +0200 |
commit | 81c1cd98351bec779c4587865b62bfbac72ee811 (patch) | |
tree | b8b321f18f4510b2348f9ee930e3d6cf4a615019 | |
parent | 99c749a4c4f4ea2c9eee01f81f79bdbf26c3914e (diff) | |
download | linux-81c1cd98351bec779c4587865b62bfbac72ee811.tar.bz2 |
nvme/pci: Don't set reserved SQ create flags
The QPRIO field is only valid if weighted round robin arbitration is used,
and this driver doesn't enable that controller configuration option.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
-rw-r--r-- | drivers/nvme/host/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index d9e2bd07ed56..af783a33e93a 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -785,7 +785,7 @@ static int adapter_alloc_sq(struct nvme_dev *dev, u16 qid, struct nvme_queue *nvmeq) { struct nvme_command c; - int flags = NVME_QUEUE_PHYS_CONTIG | NVME_SQ_PRIO_MEDIUM; + int flags = NVME_QUEUE_PHYS_CONTIG; /* * Note: we (ab)use the fact the the prp fields survive if no data |