Re: [Yaffs] YAFFS Data Integrity

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs, S. K.
Subject: Re: [Yaffs] YAFFS Data Integrity
On Sunday 15 July 2012 18:50:17 S. K. wrote:
> Hello!
>
>
> I have some questions about data integrity in the YAFFS. There is some
> where(such as Wikipedia) that represent: "YAFFS is a robust log-structured
> file system that holds data integrity as a high priority."
>
> But there is not any other explanation about it. How can we be sure about
> data integrity in the YAFFS?
>
> What is the mechanism for it?(Is there any hash function or ... ?)
>
> Is there any relation between log structure in the YAFFS and making data
> integrity?
>
> Where does the data integrity related parts has been implemented in the
> YAFFS source code?


There are really two parts to data integrity:

1) How does yaffs do things so that data is not lost during a power loss etc?
That is due to the log structure.

2) How does yaffs handle ECC errors. Alan Moore has already answered that.