From evgenyh@Surf-com.com Tue Aug 19 08:59:10 2008
Received: from mail.surf-com.com ([212.199.68.120] helo=surfnt50.surf-com.com)
	by stoneboat.aleph1.co.uk with esmtp (Exim 4.63)
	(envelope-from <evgenyh@Surf-com.com>) id 1KVM7J-0002Zt-J2
	for yaffs@lists.aleph1.co.uk; Tue, 19 Aug 2008 08:59:10 +0100
Received: from everest_n.Surfdom.dom ([10.10.1.10]) by surfnt50.surf-com.com
	with InterScan Message Security Suite;
	Tue, 19 Aug 2008 10:57:13 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C901D1.773CBB52"
Date: Tue, 19 Aug 2008 10:59:11 +0300
Message-ID: <17E66600668C05419793F4C955966EF55425EA@everest_n.Surfdom.dom>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
thread-topic: notification about data error during read
thread-index: AckB0XcrPRckNDhmS2ijPiWkP+h0nA==
From: "Evgeny Habinsky" <evgenyh@Surf-com.com>
To: <yaffs@lists.aleph1.co.uk>
X-SA-Exim-Connect-IP: 212.199.68.120
X-SA-Exim-Mail-From: evgenyh@Surf-com.com
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on
	stoneboat.aleph1.co.uk
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE
	autolearn=ham version=3.2.3
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk)
Subject: [Yaffs] notification about data error during read
X-BeenThere: yaffs@lists.aleph1.co.uk
X-Mailman-Version: 2.1.9
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/listinfo/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: Tue, 19 Aug 2008 07:59:10 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C901D1.773CBB52
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi!
=20
I use YAFFS via direct interface.
=20
When YAFFS encounters unrecoverable ECC error during file read it
retires the block but the application gets no notification from the file
system that the file data is corrupted (except for printed error
message).
=20
One could pass such notification via global variable from directly from
yaffs_ReadChunkFromNAND() to application. I'd like to know how do you
deal with this problem or think it should be dealt with.
=20
Thanks.

------_=_NextPart_001_01C901D1.773CBB52
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.6000.16674" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D332523507-19082008></SPAN><SPAN =
class=3D332523507-19082008><FONT=20
face=3DArial size=3D2>Hi!</FONT></SPAN></DIV>
<DIV><SPAN class=3D332523507-19082008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D332523507-19082008><FONT face=3DArial size=3D2>I use =
YAFFS via=20
direct interface.</FONT></SPAN></DIV>
<DIV><SPAN class=3D332523507-19082008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D332523507-19082008><FONT face=3DArial size=3D2>When =
YAFFS=20
encounters unrecoverable ECC error during file read it retires the block =
but the=20
application gets no notification from the file system that the file data =
is=20
corrupted (except for printed error message).</FONT></SPAN></DIV>
<DIV><SPAN class=3D332523507-19082008></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D332523507-19082008><FONT face=3DArial size=3D2>One =
could pass such=20
notification via global variable from directly from =
yaffs_ReadChunkFromNAND() to=20
application. I'd like to know how do you deal with this problem or think =
it=20
should be dealt with.</FONT></SPAN></DIV>
<DIV><SPAN class=3D332523507-19082008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D332523507-19082008><FONT face=3DArial=20
size=3D2>Thanks.</FONT></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C901D1.773CBB52--

