From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11431 invoked by alias); 7 Apr 2008 13:44:26 -0000 Received: (qmail 11417 invoked by uid 22791); 7 Apr 2008 13:44:24 -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:44:07 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id D7AD3337923E; Mon, 7 Apr 2008 07:44:05 -0600 (MDT) Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id B5C763379239; Mon, 7 Apr 2008 07:44:01 -0600 (MDT) Message-ID: <47FA2520.8030600@mlbassoc.com> Date: Mon, 07 Apr 2008 14:37: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> <47FA213E.3070101@mlbassoc.com> <20080407153412.65cf4dc5@kingfisher.sec.intern.logix-tt.com> In-Reply-To: <20080407153412.65cf4dc5@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/msg00110.txt.bz2 Markus Schaber wrote: > Hi, Gary, > > Gary Thomas wrote: > >> Markus Schaber 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. > > Do you really say that JFFS2 on eCos ignores calls to fflush() & co? > > So then it is unusable for every application that needs transactional > consistency. I'm sure that this is not the case - the FLASH should be consistent after a flush. Tha5 said, this discussion should really be on the JFFS2 mailing list, since they'll be able to better answer the questions and concerns. Try taking it to linux-mtd@lists.infradead.org -- ------------------------------------------------------------ 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