jffs2 copy too long after mounting

Artem Bityutskiy dedekind1 at gmail.com
Mon Nov 12 10:42:46 EST 2012

On Fri, 2012-10-26 at 09:45 +0800, hejianet wrote:
> Sorry,maybe my question is long and bothering:(
> I try to make it more easily and clearly
> in jffs2_garbage_collect_deletion_dirent(),
> what does it mean, why in nand, we can't actually mark nodes obsolete
> pernamently
>     /* On a medium where we can't actually mark nodes obsolete
>        pernamently, such as NAND flash, ..... */

Because in NAND you cannot change the contents of a NAND page which has
already been written, because you have ECC for the data in the OOB. So
you cannot just mark a node as obsolete "in-place". In NOR you can do

Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20121112/a23f4b44/attachment.sig>

More information about the linux-mtd mailing list