Re: 2 PATCHES: fix request_tranferlength

Kurt Garloff
2002-07-29T16:50:49Z

[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]

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 <kurt@garloff.de> [Eindhoven, NL]
Physics: Plasma simulations <K.Garloff@TUE.NL> [TU Eindhoven, NL]
Linux: SCSI, Security <garloff@suse.de> [SuSE Nuernberg, DE]
(See mail header or public key servers for PGP2 and GPG public keys.)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]