----- Original Message -----
From: Alan Cox <[EMAIL PROTECTED]>
To: Eric Youngdale <[EMAIL PROTECTED]>
Cc: Douglas Gilbert <[EMAIL PROTECTED]>; Brian Pomerantz
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 18, 2000 9:50 AM
Subject: Re: Request splits


> >     I don't think there are other issues with increasing the limit.  For
> > that matter, I am not entirely sure why there is this arbitrary limit in
the
> > code here.  In other words, I am not sure if I even added it - it may
have
> > gotten added by someone else as part of the ll_rw_blk cleanups.
>
> The sglist itself presumably has a size limit and we would need to keep
the
> sg list allocation under a page.

    Even this is correctly handled, I think.  It looks like we allocate from
the DMA safe pool, and handle arbitrary lengths.

    SCpnt->sglist_len = (SCpnt->use_sg * sizeof(struct scatterlist) + 511) &
~511;

    sgpnt = (struct scatterlist *) scsi_malloc(SCpnt->sglist_len);

-Eric



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to