Q: Filesystem choice..

Jörn Engel joern at wohnheim.fh-wedel.de
Mon Jan 26 10:32:48 EST 2004


On Mon, 26 January 2004 07:40:00 +0000, David Woodhouse wrote:
>
> You want resv_blocks_write to be larger than resv_blocks_deletion, and I
> suspect you could get away with values of 2 and 1.5 respectively, if we
> were counting bytes rather than whole eraseblocks.

Hmm.  Any special reason, why you don't always count in bytes?  That
would even remove code, such as this line:

>         size += c->sector_size - 1; /* ... and round up */

Jörn

-- 
Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface. 
-- Doug MacIlroy



More information about the linux-mtd mailing list