RE: [Yaffs] cvs YAFFS + MTD cvs + 2.4.27-vrs1 problems

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Thomas Gleixner
Date:  
To: Nick Bane
CC: Aras Vaichas, YAFFS
Subject: RE: [Yaffs] cvs YAFFS + MTD cvs + 2.4.27-vrs1 problems
On Thu, 2004-12-09 at 21:10 +0000, Nick Bane wrote:
> That is precisely what I do and I comment out the MTD whinge.
> It is clearly important that SOMEONE does the ECC and it is a
> mild pity that the MTD layer assumes that only it is competant to do so.


It's not a pity. It's correct. If you do software ECC, fine. If you have
hardware ECC then it _CAN_ only be done in the MTD layer. The filesystem
layer does not know anything about the available hardware. So it makes
totaly sense that ECC is done in the MTD/NAND layer and nowhere else.

A filesystem is a filesystem and is not competent to fiddle around with
hardware. I know that there are OS targets for YAFFS where YAFFS has to
do everything, but MTD does it the right way.

> It is probably that yaffs should get the MTD layer to do its ecc
> eventually as standard.


Can you please explain this statement to somebody who's native language
is German ?

What do you mean ?
Fix YAFFS or hack MTD ?

tglx