----- Original Message -----
From: Jens Axboe <[EMAIL PROTECTED]>
To: Eric Youngdale <[EMAIL PROTECTED]>
Cc: Nigel Chan <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, April 04, 2000 1:01 PM
Subject: Re: Bad segment list supplied to aha1542.c
> On Tue, Apr 04 2000, Eric Youngdale wrote:
> > Yes, this isn't good at all. We will need to look and see how that
17th
> > segment got into the list.
>
> It could get in there if the write / read is big enough, nothing is
> limiting the number of request segments for such hardware right now
> (aside from the ll_rw_blk default MAX_SEGMENTS).
No, the code in scsi_merge.c should be checking the limit. In
aha1542.h, the symbol is AHA1542_SCATTER, and this is stored in the host
template in the field sg_tablesize. In scsi_merge.c there are places all
over where we check against this limit before we allow another segment to be
added, and someplace this isn't working correctly.
-Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]