On Mon, Sep 03 2007, FUJITA Tomonori wrote: > The patchset is against Jens' sg chaining branch. > > Jens removed old SCSI_MAX_PHYS_SEGMENTS hack and the maximum is always > 128: > > http://git.kernel.org/?p=linux/kernel/git/axboe/linux-2.6-block.git;a=commit;h=d6beb57f48231f5c012fb7d55b369bc0af6b0c41 > > I talked to James at linuxconf.eu and he likes to provide a way to > reduce sgpool memory consumption because with libata everyone > (including small machines) uses the mid layer. > > This patch reverts sg segment size ifdefs that the current mid layer > has. Later we might do something better like relating > SCSI_MAX_SG_SEGMENTS with other config options like CONFIG_EMBEDDED or > just having SCSI_MAX_SG_SEGMENTS in menuconfig. > > Now we have sg chaining code in -mm. As discussed before, it would be > nice to test sg chaining code in -mm with a small SCSI_MAX_SG_SEGMENTS > value like 32. I'd rather avoid this, but it's not a big deal. I'll add it. -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html