From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Pierre Ossman <drzeus-list@drzeus.cx>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Choosing scatter/gather limits
Date: Wed, 13 Oct 2004 12:22:34 +0100 [thread overview]
Message-ID: <20041013122234.A23105@flint.arm.linux.org.uk> (raw)
In-Reply-To: <416A6623.9000105@drzeus.cx>; from drzeus-list@drzeus.cx on Mon, Oct 11, 2004 at 12:53:23PM +0200
On Mon, Oct 11, 2004 at 12:53:23PM +0200, Pierre Ossman wrote:
> I've been adding scatter/gather support for the MMC host driver I'm
> writing. I cannot find any documentation on how to chose the limits though.
It seems that you have to read the block layer code to find out what's
going on with these limits. There's some documentation on it in
Documentation/block/bio.txt. If it's lacking, then please send
comments to the block layer people to add the necessary information.
Please also note that I'm intending to make the MMC host drivers
know nothing about block IO stuff, so all you'll be passed is the
MMC commands and a scatter gather list - so making sure that your
driver always uses blk_rq_map_sg() and works from the SG list will
ensure that your driver remains easy to update.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
next prev parent reply other threads:[~2004-10-13 11:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-11 10:53 Choosing scatter/gather limits Pierre Ossman
2004-10-13 11:22 ` Russell King [this message]
2004-10-13 12:48 ` Pierre Ossman
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=20041013122234.A23105@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=drzeus-list@drzeus.cx \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox