]> www.infradead.org Git - mtd-www.git/commitdiff
faq: ubi: note that CONFIG_MTD_NAND_VERIFY_WRITE is dead
authorBrian Norris <computersforpeace@gmail.com>
Sat, 20 Dec 2014 02:38:26 +0000 (18:38 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 6 Jan 2015 06:18:08 +0000 (22:18 -0800)
RIP.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
faq/ubi.xml

index 9b2165def9c3c814e5fac969517782460f724120..f8c40f64044db11dea8efe684916525320d048ad 100644 (file)
@@ -567,9 +567,27 @@ ubi.mtd=0,2048
 
 <p>If you have a 2048 bytes per NAND page device, and have
 <code>CONFIG_MTD_NAND_VERIFY_WRITE</code> enabled in your kernel, you will need
-to turn it off. The code does not currently (as of 2.6.26) perform verification
+to turn it off. The code did not currently (as of 2.6.26) perform verification
 of sub-page writes correctly. As UBI is one of the few users of sub-page
-writes, not much else seems to be affected by this bug.</p>
+writes, not much else seemed to be affected by this bug. In Linux 3.7,
+<code>CONFIG_MTD_NAND_VERIFY_WRITE</code> was removed:
+
+<pre>
+commit 657f28f8811c92724db10d18bbbec70d540147d6
+Date:   Tue Aug 14 22:38:45 2012 -0400
+
+    mtd: kill MTD_NAND_VERIFY_WRITE
+
+    "Both UBI and JFFS2 are able to read verify what they wrote already.
+    There are also MTD tests which do this verification. So I think there
+    is no reason to keep this in the NAND layer, let alone wasting RAM in
+    the driver to support this feature. Besides, it does not work for sub-pages
+    and many drivers have it broken. It hurts more than it provides benefits."
+
+    So kill MTD_NAND_VERIFY_WRITE entirely.
+</pre>
+
+</p>