CNFS block size

Alex Kiernan alexk at demon.net
Tue Sep 10 07:47:19 UTC 2002


"Jeffrey M. Vinocur" <jeff at litech.org> writes:

> On 9 Sep 2002, Alex Kiernan wrote:
> 
> > On Mon, 2002-09-09 at 01:55, Jeffrey M. Vinocur wrote:
>
> > 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?)
> 

Its calculated at line 1167 in cnfs.c, the compile time adjustment is
CNFS_BLOCKSIZE.

-- 
Alex Kiernan, Principal Engineer, Development, THUS plc


More information about the inn-workers mailing list