CNFS block size

Russ Allbery rra at
Mon Sep 9 02:18:40 UTC 2002

Jeffrey M Vinocur <jeff at> writes:

> So I tried CNFS with raw devices on a redhat 2.4.18-3 system.  It works.
> But the RAID system would like all partitions to use the same block
> size.  (Every time a different block size is requested, it flushes the
> cache and spams the logfile.)  I see:

> #define CNFS_BLOCKSIZE  512             /* Unit block size we'll work with */

> What happens if I bump this up to 4k?

> (And should we make this a configure option?)

It's not really clear to me just what that parameter does.  I've never
followed the CNFS code all that well.  It seems to be used to align the
offsets to articles, but I'm not quite sure if that's what your RAID
system really cares about.

Russ Allbery (rra at             <>

    Please send questions to the list rather than mailing me directly.
     <> explains why.

More information about the inn-workers mailing list