[lkml]   [2004]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Choosing scatter/gather limits
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 -
maintainer of: 2.6 PCMCIA -
2.6 Serial core
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:07    [W:0.036 / U:2.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site