public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SFFDC and blksize_size
@ 2003-11-07 13:12 Simon Haynes
  2003-11-07 14:18 ` David Woodhouse
  2003-11-10 14:09 ` Jens Axboe
  0 siblings, 2 replies; 5+ messages in thread
From: Simon Haynes @ 2003-11-07 13:12 UTC (permalink / raw)
  To: linux-kernel, linux-mtd


I have been writing a block driver for SSFDC compliant SMC cards. This stuff 
allocates 16k blocks.  When I get requests the transfers are split into the 
size I specifty in the blksize_size{MAJOR] array. It sems that most things 
set this to 1k. In my case this causes a performance problem  as I have to 
end up doing 16 * (16K write,  16K read, 16k erase)  to write and verify a 
16k block which has been previously written.
 
I increased this size to 4k and now I only need 4 * this lot. !deally I would 
like to do 1. However if I set the block size to 16k the module installation 
crashes when I call register_disk. 

I guess I could deal with the request queue myself but I would just like to 
know if there is a 4k limit or I have some other bug.

Many Thanks

Simon.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-11-10 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-07 13:12 SFFDC and blksize_size Simon Haynes
2003-11-07 14:18 ` David Woodhouse
2003-11-10 14:09 ` Jens Axboe
2003-11-10 14:17   ` David Woodhouse
2003-11-10 14:23     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox