tree: fa6a5e561141a67cfada2d9dd75cd27aec80b1e7 [path history] [tgz]
  1. ftln/
  2. include/
  3. ndm/
  4. test/
  5. utils/
  7. ftl.h
  8. ftl_private.h

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.