From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4012 invoked by alias); 7 Apr 2008 13:34:41 -0000 Received: (qmail 4001 invoked by uid 22791); 7 Apr 2008 13:34:40 -0000 X-Spam-Check-By: sourceware.org Received: from mail.logix-tt.com (HELO mail.logix-tt.com) (212.211.145.186) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Apr 2008 13:34:16 +0000 Received: from kingfisher.intern.logix-tt.com (84-72-190-27.dclient.hispeed.ch [84.72.190.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 1587D65C6B; Mon, 7 Apr 2008 15:35:54 +0200 (CEST) Received: from kingfisher.sec.intern.logix-tt.com (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 15C1580EB9; Mon, 7 Apr 2008 15:34:13 +0200 (CEST) Date: Mon, 07 Apr 2008 13:40:00 -0000 From: Markus Schaber To: ecos-discuss@ecos.sourceware.org Message-ID: <20080407153412.65cf4dc5@kingfisher.sec.intern.logix-tt.com> In-Reply-To: <47FA213E.3070101@mlbassoc.com> References: <47F9DD83.30800@televic.com> <20080407151713.08e665ee@kingfisher.sec.intern.logix-tt.com> <47FA213E.3070101@mlbassoc.com> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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/msg00108.txt.bz2 Hi, Gary, Gary Thomas wrote: > Markus Schaber wrote: > >> the default block size in jffs2 is 4kB. But with FTP, packets have at= =20 > >> most 1448 B payload. > >> If I put a file of 12kB, is the file then put in 3 nodes if 4kB, or is= =20 > >> it put in 9 nodes (because FTP uses 9 packets) ? > >=20 > > Besides what J=C3=BCrgen 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. >=20 > 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. Regards, Markus --=20 Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in Europe! www.ffii.org www.nosoftwarepatents.org -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss