From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1239 invoked by alias); 7 Apr 2008 13:28:13 -0000 Received: (qmail 1227 invoked by uid 22791); 7 Apr 2008 13:28:12 -0000 X-Spam-Check-By: sourceware.org Received: from 204-133-123-27.dia.static.slbbi.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Apr 2008 13:27:33 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id D02073379239; Mon, 7 Apr 2008 07:27:28 -0600 (MDT) Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id B8ACA337907A; Mon, 7 Apr 2008 07:27:26 -0600 (MDT) Message-ID: <47FA213E.3070101@mlbassoc.com> Date: Mon, 07 Apr 2008 13:34:00 -0000 From: Gary Thomas User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Markus Schaber CC: ecos-discuss@ecos.sourceware.org References: <47F9DD83.30800@televic.com> <20080407151713.08e665ee@kingfisher.sec.intern.logix-tt.com> In-Reply-To: <20080407151713.08e665ee@kingfisher.sec.intern.logix-tt.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] jffs2 write in 4kB blocks over the network? X-SW-Source: 2008-04/txt/msg00107.txt.bz2 Markus Schaber wrote: > Hi, Jürgen, > > Jürgen Lambrecht 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