Re: [SCSI] Set max_phys_segments to sg_tablesize

From: Herbert Xu
Date: Wed Oct 15 2003 - 07:33:01 EST


mika.penttila@xxxxxxxxxxx wrote:
>
>> Many SCSI host drivers assume that use_sg will be <= sg_tablesize.
>> Hence they may break under 2.6 as the number of physical segments
>> is not limited by sg_tablesize. This patch fixes that.
>
> Physical segments don't matter, hw segments does and it's bounded by sg_tablesize.

It does matter if the driver can't cope with it.
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/