Re: 2 PATCHES: fix request_tranferlength
From: Kurt Garloff <hidden>
Date: 2002-07-29 16:50:49
Attachments
- (unnamed) [application/pgp-signature] 189 bytes
From: Kurt Garloff <hidden>
Date: 2002-07-29 16:50:49
On Mon, Jul 29, 2002 at 09:00:21AM -0700, Randy.Dunlap wrote:
On 29 Jul 2002, Alan Cox wrote: | On Sat, 2002-07-27 at 23:07, Matthew Dharm wrote: | > > scsi_wait_req(SRpnt, (void *) cmd, (void *) buffer, | > > - 512, SD_TIMEOUT, MAX_RETRIES); | > > + 255, SD_TIMEOUT, MAX_RETRIES); | | Adjust it and the buffer size to be even and I'll test run it in -ac One of the earlier emails quoted a 252 max. size from a newer spec.
252 is also what I used in my sd-many patches http://www.suse.de/~garloff/scsi-many/ It does not incur a IGNORE_WIDE_RESIDUAL even on wide32 buses. Probably that's why this size was specified for some transfers. Regards, -- Kurt Garloff [off-list ref] [Eindhoven, NL] Physics: Plasma simulations [off-list ref] [TU Eindhoven, NL] Linux: SCSI, Security [off-list ref] [SuSE Nuernberg, DE] (See mail header or public key servers for PGP2 and GPG public keys.)