CNFS block size

Jeffrey M. Vinocur jeff at litech.org
Mon Sep 9 21:28:03 UTC 2002


On 9 Sep 2002, Alex Kiernan wrote:

> On Mon, 2002-09-09 at 01:55, Jeffrey M. Vinocur wrote:
> > 
> > But the RAID system would like all partitions to use the same block size.  
> > 
> > #define CNFS_BLOCKSIZE  512
> 
> Its the allocation unit within the bitmap - the bigger you make it, then
> smaller your bitmap will be (for the same size of CNFS buffer) and the
> more space you will waste after every article.

Hmm, yuck.


> What it won't change (and I suspect this is what you think it might) is
> the size of the IO request issued - that will always be the size of an
> article, just aligned to a CNFS_BLOCKSIZE boundary.

Where does that "just aligned" get calculated?  (Is there any reason we 
can't add a compile-time parameter to adjust the alignment?)


-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-workers mailing list