refactor: move ecstore format layout owners (#3646)

This commit is contained in:
安正超
2026-06-20 09:58:50 +08:00
committed by GitHub
parent 88dfdda4a0
commit 16d667da0a
8 changed files with 1527 additions and 1458 deletions
@@ -33,6 +33,14 @@ expansion. It may describe:
Static layout must not own disk handles, lock clients, reconnect loops, repair
state, or shutdown signaling.
## Format And Disk Layout Ownership
`layout::format` owns persisted format structures and disk UUID position lookup.
`layout::disks_layout` owns command-line volume expansion into pool/set layout.
Compatibility paths remain available through `disk::format` and `disks_layout`
until downstream callers are moved or compatibility coverage allows removal.
## Runtime Set Orchestration
Runtime orchestration remains owned by `Sets` and `SetDisks` until a later pure