From: <mika.penttila@kolumbus.fi>
To: Herbert Xu <herbert@gondor.apana.org.au>,
Linus Torvalds <torvalds@osdl.org>,
Christoph Hellwig <hch@infradead.org>, <axboe@suse.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [SCSI] Set max_phys_segments to sg_tablesize
Date: Wed, 15 Oct 2003 15:37:22 +0300 [thread overview]
Message-ID: <20031015123722.CSSJ7495.fep07-app.kolumbus.fi@mta.imail.kolumbus.fi> (raw)
>>> 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.
But this fix may hurt performance with well behaving drivers in iommu systems. It's better to fix the broken drivers I think.
--Mika
next reply other threads:[~2003-10-15 12:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-15 12:37 mika.penttila [this message]
2003-10-16 4:51 ` [SCSI] Set max_phys_segments to sg_tablesize David S. Miller
2003-10-16 6:57 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2003-10-15 12:14 mika.penttila
2003-10-15 12:31 ` Herbert Xu
2003-10-15 11:57 Herbert Xu
2003-10-15 12:02 ` Jens Axboe
2003-10-15 12:06 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031015123722.CSSJ7495.fep07-app.kolumbus.fi@mta.imail.kolumbus.fi \
--to=mika.penttila@kolumbus.fi \
--cc=axboe@suse.de \
--cc=hch@infradead.org \
--cc=herbert@gondor.apana.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.