tree: cb271669be45d443d53aa846922d3c86f9f24bf9 [path history] [tgz]
  1. ftln/
  2. include/
  3. ndm/
  4. test/
  5. utils/
  6. BUILD.gn
  7. ftl.h
  8. ftl_private.h
  9. OWNERS
  10. README.md
zircon/system/ulib/ftl/README.md

The Flash Translation Layer library provides block management for low-level NAND devices. Not all flash devices need this as many provide this functionality in their firmware. This directory contains the FTL library only. It is integrated into the Fuchsia device hierarchy by the separate FTL driver.

NDM (NAND Device Manager) is the lower layer. It abstracts the different NAND types and error correction schemes. Theoretically NDM can host multiple volumes on top of it but we do not use it in this way.

FTLN is the upper-layer that implements the wear leveling and garbage collection.