On Thu, 31 Jan 2008, James Bottomley wrote: > On Thu, 2008-01-31 at 18:41 +0100, Geert Uytterhoeven wrote: > > James, do you have any comment about the first email in this thread, increasing > > scsi_host_template.max_sectors? > > Assuming your BOUNCE_SIZE is in bytes, and represents your largest > transfer, then yes, setting .max_sectors to BOUNCE_SIZE>>9 is exactly > the right way of phrasing this, since .max_sectors is counted in units > of the internal block sector (or 512 bytes). OK, thanks for the confirmation! > Were you going to submit a full patch to linux-scsi? Yes I will. With kind regards, Geert Uytterhoeven Software Architect Sony Network and Software Technology Center Europe The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium Phone: +32 (0)2 700 8453 Fax: +32 (0)2 700 8622 E-mail: Geert.Uytterhoeven@xxxxxxxxxxx Internet: http://www.sony-europe.com/ Sony Network and Software Technology Center Europe A division of Sony Service Centre (Europe) N.V. Registered office: Technologielaan 7 · B-1840 Londerzeel · Belgium VAT BE 0413.825.160 · RPR Brussels Fortis Bank Zaventem · Swift GEBABEBB08A · IBAN BE39001382358619