From manningc2@actrix.gen.nz Thu Feb 09 21:42:40 2012
Received: from smtp.scorch.co.nz ([27.110.127.199] helo=scorch.co.nz)
	by stoneboat.aleph1.co.uk with smtp (Exim 4.72)
	(envelope-from <manningc2@actrix.gen.nz>) id 1RvblF-0008F2-Gn
	for yaffs@lists.aleph1.co.uk; Thu, 09 Feb 2012 21:42:40 +0000
Received: (qmail 16513 invoked by uid 453); 9 Feb 2012 21:42:29 -0000
X-Virus-Checked: Checked by ClamAV on scorch.co.nz
Received: from ptr157.scorch.co.nz (HELO linux-dual-head.local)
	(27.110.120.157) by scorch.co.nz (qpsmtpd/0.83) with ESMTP;
	Fri, 10 Feb 2012 10:42:23 +1300
From: Charles Manning <manningc2@actrix.gen.nz>
To: yaffs@lists.aleph1.co.uk
Date: Fri, 10 Feb 2012 10:42:12 +1300
User-Agent: KMail/1.9.10
References: <000301cce584$a52fd180$ef8f7480$@com>
In-Reply-To: <000301cce584$a52fd180$ef8f7480$@com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <201202101042.12781.manningc2@actrix.gen.nz>
X-SA-Exim-Connect-IP: 27.110.127.199
X-SA-Exim-Mail-From: manningc2@actrix.gen.nz
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	stoneboat.aleph1.co.uk
X-Spam-Level: 
X-Spam-Status: No, score=-0.3 required=4.5 tests=AWL,BAYES_05,SPF_NEUTRAL
	autolearn=no version=3.3.1
X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000)
X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk)
Subject: Re: [Yaffs] how to determin a chunk wrote correctly?
X-BeenThere: yaffs@lists.aleph1.co.uk
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Discussion of YAFFS NAND flash filesystem <yaffs.lists.aleph1.co.uk>
List-Unsubscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/options/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=unsubscribe>
List-Archive: <http://lists.aleph1.co.uk/lurker/list/yaffs.html>
List-Post: <mailto:yaffs@lists.aleph1.co.uk>
List-Help: <mailto:yaffs-request@lists.aleph1.co.uk?subject=help>
List-Subscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=subscribe>
X-List-Received-Date: Thu, 09 Feb 2012 21:42:40 -0000

On Tuesday 07 February 2012 23:38:27 EzioZhang wrote:
> As subject,if I wrote something to one chunk,but powerloss before write
> complete. As a result,I could not determin weather this chunk wrote
> correctly?
>
> For example,the first 2048byte is wrote correctly,but the last few byte of
> the OOB area does not write,how can I cope with this situation?

YAFFS will handle this for you with no effort on your part. That chunk will be 
ignored.

-- CHarles



