Q: Filesystem choice..

David Woodhouse dwmw2 at infradead.org
Mon Jan 26 03:38:22 EST 2004


On Mon, 2004-01-26 at 09:34 +0100, Joakim Tjernlund wrote:
> size = 63*1024*1024/50 = 1321205
> size += 252*100 = 1321457
> size += 256*1024 -1 = 1583600
> 
> resv_blocks_write = 2 + 1583600/(256*1024) = 2 + 6 = 8
> resv_blocks_gcmerge = 2+1 = 3
> 
> So now I need 8(2 MB) reserved blocks instead of 5?
> I never had any trouble with 5 reserved blocks, maybe one could do a
> resv_blocks_write = MIN(5, resv_blocks_write) iff NOR flash?

I'd be happier about reducing the 2% figure to 1% or 1.5%, maybe.

-- 
dwmw2





More information about the linux-mtd mailing list