diff options
author | Keith Busch <keith.busch@intel.com> | 2017-04-05 00:18:12 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-04-21 16:41:46 +0200 |
commit | 81c1cd98351bec779c4587865b62bfbac72ee811 (patch) | |
tree | b8b321f18f4510b2348f9ee930e3d6cf4a615019 /drivers/nvme/host/pci.c | |
parent | blk-stat: kill blk_stat_rq_ddir() (diff) | |
download | linux-81c1cd98351bec779c4587865b62bfbac72ee811.tar.xz linux-81c1cd98351bec779c4587865b62bfbac72ee811.zip |
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>
Diffstat (limited to '')
-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 |