tree: 1aff866f2a53b212cfe5bb385e5139feaf3678fb [path history] [tgz]
  1. ftln/
  2. ndm/
  3. test/
  4. utils/
  5. BUILD.gn
  6. ftl.h
  7. ftl_private.h
  8. README.md
src/storage/lib/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.