diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-05-11 12:51:11 -0600 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-05-11 13:10:44 -0700 |
commit | e2d1f8a06e8af1e1e4b339f2afb66233aeb16136 (patch) | |
tree | 7bb899cc415d1a6434d2df28c41823e91ea1d71f /drivers/ata | |
parent | 69278f790b60ec6657b76061357d5d180524c588 (diff) | |
download | linux-e2d1f8a06e8af1e1e4b339f2afb66233aeb16136.tar.gz linux-e2d1f8a06e8af1e1e4b339f2afb66233aeb16136.tar.bz2 linux-e2d1f8a06e8af1e1e4b339f2afb66233aeb16136.zip |
ahci: enable full queue depth of 32
This changes the AHCI queue depth from 31 to 32, as libata now
fully supports it. Now regular IO requests can utilize the full
tag space of SATA, not just 31. For IOPS constrained workloads,
this can result in a ~3% bump in performance.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/ahci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 4356ef1d28a8..6712570a8816 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -384,7 +384,7 @@ extern struct device_attribute *ahci_sdev_attrs[]; */ #define AHCI_SHT(drv_name) \ ATA_NCQ_SHT(drv_name), \ - .can_queue = AHCI_MAX_CMDS - 1, \ + .can_queue = AHCI_MAX_CMDS, \ .sg_tablesize = AHCI_MAX_SG, \ .dma_boundary = AHCI_DMA_BOUNDARY, \ .shost_attrs = ahci_shost_attrs, \ |