PROTOCOLS
Minfs
Defined in fuchsia.minfs/minfs.fidl
GetAllocatedRegions
Retrieve information about allocated regions on the filesystem.
Request
Name | Type |
---|
Response
Name | Type |
---|---|
status |
zx/status
|
regions |
handle<vmo>?
|
count |
uint64
|
GetMetrics
Acquires metrics about the currently running filesystem.
Request
Name | Type |
---|
Response
Name | Type |
---|---|
status |
zx/status
|
metrics |
Metrics?
|
GetMountState
Get mount state.
Request
Name | Type |
---|
Response
Name | Type |
---|---|
status |
zx/status
|
mount_state |
MountState?
|
ToggleMetrics
Toggle the metrics collection system on or off.
Request
Name | Type |
---|---|
enable |
bool
|
Response
Name | Type |
---|---|
status |
zx/status
|
STRUCTS
BlockRegion
Defined in fuchsia.minfs/minfs.fidl
Describes a contiguous run of allocated blocks.
Name | Type | Description | Default |
---|---|---|---|
offset |
uint64
|
No default | |
length |
uint64
|
No default |
Metrics
Defined in fuchsia.minfs/minfs.fidl
Describes metrics about the running Minfs instance.
Name | Type | Description | Default |
---|---|---|---|
fs_metrics |
fuchsia.storage.metrics/FsMetrics
|
No default | |
initialized_vmos |
uint64
|
Minfs initializes entire VMOs at once. The following fields track this information. |
No default |
init_dnum_count |
uint32
|
Top-level direct blocks only |
No default |
init_inum_count |
uint32
|
Top-level indirect blocks only |
No default |
init_dinum_count |
uint32
|
No default | |
init_user_data_size |
uint64
|
No default | |
init_user_data_ticks |
uint64
|
No default | |
vnodes_opened_cache_hit |
uint64
|
Minfs looks up Vnodes by ino internally (using "VnodeGet"). The following fields track this information. |
No default |
dirty_bytes |
uint64
|
The number of bytes in dirty cache for which we have not issued writes yet. The number is filesystem block aligned. |
No default |
MountState
Defined in fuchsia.minfs/minfs.fidl
Name | Type | Description | Default |
---|---|---|---|
readonly_after_initialization |
bool
|
True if the fileystem is operational in readonly state. There may have been writes during mount or during replaying journal. |
No default |
collect_metrics |
bool
|
True if the mounted filesystem is collecting metrics. |
No default |
verbose |
bool
|
True if the mounted filesystem is in verbose mode. |
No default |
repair_filesystem |
bool
|
True if the journalled writes were allowed during mount. |
No default |
use_journal |
bool
|
True if the journaling is enabled. |
No default |
dirty_cache_enabled |
bool
|
True is dirty cache is enabled for minfs. |
No default |