tree: 35d95adee6e185b6fd41f953376728c3384e510a [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. bind.cc
  4. bind_tests.json
  5. block_device.cc
  6. block_device.h
  7. ftl.bind
  8. metrics.cc
  9. metrics.h
  10. nand_driver.cc
  11. nand_driver.h
  12. nand_operation.cc
  13. nand_operation.h
  14. oob_doubler.cc
  15. oob_doubler.h
  16. tests/
src/devices/block/drivers/ftl/README.md

This FTL driver exposes the FTL (Flash Translation Layer) library as a driver. FTL is used to manage wear leveling and bad block management for NAND devices.

The BlockDevice class implements Fuchsia's BlockDevice protocol and forwards requests to the FTL library. The FTL library in turn uses the interface implemented by the NandDriver class to talk to the underlying Fuchsia NAND device.