diff options
| author | Bruce Johnston <bjohnsto@redhat.com> | 2026-03-24 14:06:51 -0400 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-03-26 18:19:15 +0100 |
| commit | defce4e039bc0100164964f79e896d05cb45dc76 (patch) | |
| tree | e224e3b5cddd23843bf6aa88fc795bdd233e9f46 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 9d9c28aa867ae3ffdd967a8caeb4e3fb6d4003cd (diff) | |
dm vdo: add formatting logic and initialization
Add the core formatting logic. The initialization path is updated to
read the geometry block (block 0 on the storage device). If the block
is entirely zeroed, the device is treated as unformatted and
vdo_format() is called. Otherwise, the existing geometry is parsed
and the VDO is loaded as before.
The vdo_format() function initializes the volume geometry and super
block, and marks the VDO as needing it's layout saved to disk.
Signed-off-by: Bruce Johnston <bjohnsto@redhat.com>
Reviewed-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
