]> www.infradead.org Git - mtd-www.git/commitdiff
mtd-www: UBI: Fastmap: Add a notes section
authorRichard Weinberger <richard@nod.at>
Wed, 12 Nov 2014 21:11:44 +0000 (22:11 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 27 Nov 2014 13:53:23 +0000 (15:53 +0200)
Add a notes section to clarify that fastmap is an optional
feature and it can happen that a full scan is still done if fastmap
is enabled.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
doc/ubi.xml

index 393b27b3362654dcd4480bf8515e8756e0d5cd8a..4bded9857c774c7b0e89773f8cf7065c44a64375 100644 (file)
@@ -1269,6 +1269,16 @@ where a full scan takes too long. E.g. On 4GiB NAND chips a full scan takes
 several seconds whereas a fast attach needs less than one second.</p>
 
 
+<h4><a name="L_fastmap_notes">Notes</a></h4>
+
+<p>Enabling fastmap does not guarantee that every attach process can be done
+in a fast way. In some situations a full scan is still needed.
+This can happen in two cases, (i) if a power cut occurred while a fastmap was
+written to the flash or (ii) UBI ran out of PEBs while writing the fastmap.
+The latter case can happen if a massive amount of IO errors happen while writing
+and UBI cannot find an usable PEB.
+</p>
+
 
 <h2><a name="L_ubiblock">R/O block devices on top of UBI volumes</a></h2>