mirror of https://gitee.com/openkylin/linux.git
use_clustering (sht) bit set to 0 in AHCI ?
ahci: enable sg segment clustering The specification states that ahci supports segments up to 4MiB in size, so enable clustering. Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
a16abc0b5f
commit
be5d82183f
|
@ -54,7 +54,7 @@ enum {
|
|||
AHCI_MAX_PORTS = 32,
|
||||
AHCI_MAX_SG = 168, /* hardware max is 64K */
|
||||
AHCI_DMA_BOUNDARY = 0xffffffff,
|
||||
AHCI_USE_CLUSTERING = 0,
|
||||
AHCI_USE_CLUSTERING = 1,
|
||||
AHCI_MAX_CMDS = 32,
|
||||
AHCI_CMD_SZ = 32,
|
||||
AHCI_CMD_SLOT_SZ = AHCI_MAX_CMDS * AHCI_CMD_SZ,
|
||||
|
|
Loading…
Reference in New Issue