Skip to main content

Module migration_planner

Module migration_planner 

Source
Expand description

Storage migration planner: schedules and tracks block movements between tiers.

This module provides StorageMigrationPlanner which plans migrations of blocks between storage tiers (NVMe → SSD → HDD → Archive), computes cost estimates, resolves dependency ordering, and supports rollback of failed tasks.

Structs§

MigrationRecord
A task together with its current execution metadata.
MigrationTask
A single unit of migration work: moving one block from one tier to another.
PlannerStats
Aggregate counters produced by StorageMigrationPlanner::stats.
StorageMigrationPlanner
Plans and tracks migrations of blocks across storage tiers.

Enums§

MigrationDirection
Whether a migration moves a block toward a faster or slower tier.
MigrationStatus
Lifecycle state of a MigrationTask.
StorageTier
Ordered storage tiers from fastest/most-expensive to slowest/cheapest.