Messages in this thread | | | Date | Tue, 02 Aug 2005 10:31:36 -0400 | From | Jeff Garzik <> | Subject | Re: [RFC][PATCH] libata ATAPI alignment |
| |
Jens Axboe wrote: > On Fri, Jul 29 2005, Jeff Garzik wrote: >>diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c >>--- a/drivers/scsi/ahci.c >>+++ b/drivers/scsi/ahci.c >>@@ -44,7 +44,7 @@ >> >> enum { >> AHCI_PCI_BAR = 5, >>- AHCI_MAX_SG = 168, /* hardware max is 64K */ >>+ AHCI_MAX_SG = 300, /* hardware max is 64K */ >> AHCI_DMA_BOUNDARY = 0xffffffff, >> AHCI_USE_CLUSTERING = 0, >> AHCI_CMD_SLOT_SZ = 32 * 32, > > > Reasoning? I agree, just wondering... How big is the allocated area now?
168 kept the entire allocated DMA area to 4K.
300 increases that to <I don't care>K. ;-)
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |