Writing log in flash

Ran Shalit ranshalit at gmail.com
Tue Feb 13 23:06:09 PST 2018


I have a general question about NAND technology:

Is it possible to write in nand continuously ?

I understand that NAND technology requires block erase, and then the
writing is done per page.
Yet, jffs for example achieve doing fwrite() which can get any size,
so how does jffs achieve that ?
Is it that it write pages continously ? We actually use on-die ecc, so
I am not sure if that is possible. I mean, if we write first 10 words
in page, so on writing the rest of the pagem, the ecc will need to be
re-written, so that's probably a problem.

Does it mean we have to wait for a complete page bytes, before writing
into flash ?

Thank you,

More information about the linux-mtd mailing list