Skip to content

Commit

Permalink
nvme/pci: Don't set reserved SQ create flags
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
  • Loading branch information
Keith Busch authored and Christoph Hellwig committed Apr 21, 2017
1 parent 99c749a commit 81c1cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nvme/host/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81c1cd9

Please sign in to comment.