[PATCH 0/2] CNFSv4: move to 4K blocksize

Russ Allbery rra at stanford.edu
Wed Nov 26 17:59:34 UTC 2008

list-inn-workers at news.cistron.nl ("Miquel van Smoorenburg" ) writes:

> So I have updated storage/cnfs/ to use 4K blocks.
> This introduces a new CNFS version in the CNFS header, version 4.  The
> header now includes a blocksize member, which is 4K by default.  The
> block offset is now encoded in the CNFS token as a unsigned int.  CNFSv4
> supports files/partitions up to 16 TB with a 4K blocksize.

If we're going to introduce a new version of the CNFS format, maybe we
could deal with the other long-standing problem at the same time, namely
that the CNFS file format depends on the configuration parameters for the
INN build?  If the CNFSv4 file format standardized uint32_t and uint64_t
values in network byte order, that would let us move CNFS buffers between
hosts and between largefile and non-largefile builds.

Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

More information about the inn-workers mailing list