[PATCH 1/2] jffs:2 Move erasing from write_super to GC.

Artem Bityutskiy dedekind1 at gmail.com
Tue Feb 16 06:59:14 EST 2010


On Tue, 2010-02-16 at 12:49 +0100, Joakim Tjernlund wrote:
> BTW, I see UBIFS is using CRC16 as well as CRC32. Is there a reason
> you are using CRC16 in UBIFS. Any particular reason for that? CRC16 is
> much slower than crc32 in linux since the CRC32 impl. was optimized
> by yours truly long time ago just because it was impacting mount time
> for JFFS2.

We use crc16 only for LPT (Leb Properties Tree). The tree is very
optimized to be as small as possible, and we protect very short pieces
of data, this is why crc16 was choosed.

Everything else is protected with crc32.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list