class FtlShell
Defined at line 13 of file ../../src/devices/block/drivers/ftl/tests/ftl-shell.h
Placeholder for an FTL driver, for testing purposes. The implementation uses
an NdmRamDriver at the lower layer interface.
Public Methods
bool Init (const ftl::VolumeOptions & options)
Defined at line 9 of file ../../src/devices/block/drivers/ftl/tests/ftl-shell.cc
void FtlShell ()
Defined at line 15 of file ../../src/devices/block/drivers/ftl/tests/ftl-shell.h
void ~FtlShell ()
Defined at line 16 of file ../../src/devices/block/drivers/ftl/tests/ftl-shell.h
bool InitWithDriver (std::unique_ptr<NdmRamDriver> driver)
Defined at line 19 of file ../../src/devices/block/drivers/ftl/tests/ftl-shell.cc
ftl::Volume * volume ()
Defined at line 22 of file ../../src/devices/block/drivers/ftl/tests/ftl-shell.h
uint32_t page_size ()
Defined at line 23 of file ../../src/devices/block/drivers/ftl/tests/ftl-shell.h
uint32_t num_pages ()
Defined at line 24 of file ../../src/devices/block/drivers/ftl/tests/ftl-shell.h
bool ReAttach ()
Defined at line 24 of file ../../src/devices/block/drivers/ftl/tests/ftl-shell.cc
bool OnVolumeAdded (uint32_t page_size, uint32_t num_pages)
FtlInstance interface.
Defined at line 29 of file ../../src/devices/block/drivers/ftl/tests/ftl-shell.cc