[ECOS] jffs2 write in 4kB blocks over the network?

Gary Thomas gary@mlbassoc.com
Mon Apr 7 13:34:00 GMT 2008

Markus Schaber wrote:
> Hi, Jürgen,
> Jürgen Lambrecht <J.Lambrecht@televic.com> wrote:
>> the default block size in jffs2 is 4kB. But with FTP, packets have at 
>> most 1448 B payload.
>> If I put a file of 12kB, is the file then put in 3 nodes if 4kB, or is 
>> it put in 9 nodes (because FTP uses 9 packets) ?
> Besides what Jürgen wrote, it also depends on how your FTP program
> buffers, which parts it writes in a single write call, and when it
> syncs/flushes buffers.

It still doesn't matter because the file system and/or JFFS2 will
be buffering it to suit their needs.

Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list