From: Jens Axboe Date: Tue, 22 May 2007 07:45:39 +0000 (+0200) Subject: use_clustering (sht) bit set to 0 in AHCI ? X-Git-Tag: v2.6.23-rc1~1152^2~23 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=be5d82183f1ebb022f923b008acf3b760d3a571d;p=~emulex%2Finfiniband.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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index ca5229d24d8..f55c9e746b7 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -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,