Provides control of the FTL outside of the normal block operations (read/write/trim/etc) or filesystem operations (mount/unmount/format/etc).
PROTOCOLS
Configuration
Defined in fuchsia.storage.ftl/ftl.fidl
Provides getter and setter for the state of the FTL configuration. Currently only supports the wear leveling changes to be turned on and off.
Get
Get the current configuration.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
Configuration_Get_Result
|
Set
Set the current configuration.
Request
Name | Type |
---|---|
payload |
ConfigurationOptions
|
Response
Name | Type |
---|---|
payload |
Configuration_Set_Result
|
STRUCTS
Configuration_Set_Response
Defined in fuchsia.storage.ftl/ftl.fidl
<EMPTY>
TABLES
ConfigurationOptions
Defined in fuchsia.storage.ftl/ftl.fidl
The list of configuration options.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
use_new_wear_leveling |
bool
|
Use wear leveling that migrates long-lived data onto heavily worn blocks. |
UNIONS
Configuration_Get_Result strict
Defined in fuchsia.storage.ftl/ftl.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
ConfigurationOptions
|
|
2 |
err |
zx/Status
|
Configuration_Set_Result strict
Defined in fuchsia.storage.ftl/ftl.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Configuration_Set_Response
|
|
2 |
err |
zx/Status
|
SERVICES
Service
Defined in fuchsia.storage.ftl/ftl.fidl
Name | Type | Transport |
---|---|---|
config |
fuchsia.storage.ftl/Configuration
|
Channel |