commit | 3b2a1ebceba3e03b17ef0970bb7757a3a64cdc8b | [log] [tgz] |
---|---|---|
author | Keith Busch <kbusch@kernel.org> | Wed May 20 19:22:53 2020 -0700 |
committer | Christoph Hellwig <hch@lst.de> | Wed May 27 07:12:40 2020 +0200 |
tree | 9e63c3314af9b9cbc2e0128c171de8b933c60569 | |
parent | 1cdf9f7670a7d74e27177d5c390c2f8b3b9ba338 [diff] |
nvme: set dma alignment to qword The default dma alignment mask is 511, which is much larger than any nvme controller requires. NVMe controllers accept qword aligned DMA addresses, so set the request_queue constraints to that. This can help avoid bounce buffers on user passthrough commands. Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de>