logo       

Re: 2 PATCHES: fix request_tranferlength: msg#00191

Subject: Re: 2 PATCHES: fix request_tranferlength
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@xxxxxxxxxx>         [Eindhoven, NL]
Physics: Plasma simulations    <K.Garloff@xxxxxx>     [TU Eindhoven, NL]
Linux: SCSI, Security          <garloff@xxxxxxx>    [SuSE Nuernberg, DE]
 (See mail header or public key servers for PGP2 and GPG public keys.)

Attachment: pgp2J4W2WEo3K.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>