]> git.ipfire.org Git - thirdparty/linux.git/commit
dm vdo: add super block initialization to encodings.c
authorBruce Johnston <bjohnsto@redhat.com>
Tue, 24 Mar 2026 18:06:45 +0000 (14:06 -0400)
committerMikulas Patocka <mpatocka@redhat.com>
Thu, 26 Mar 2026 17:17:42 +0000 (18:17 +0100)
commite073bb098ae28a909ece08ec05a6c59dbd282b12
tree02830227cfdd401caa08326294485c95e1ec11a2
parent4b4a8d9560d987f4df17b7248ab1c8146138d0f5
dm vdo: add super block initialization to encodings.c

Add vdo_initialize_component_states() to populate the super block,
computing the space required for the main VDO components on disk.
Those include the slab depot, block map, and recovery journal.

Signed-off-by: Bruce Johnston <bjohnsto@redhat.com>
Reviewed-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-vdo/constants.h
drivers/md/dm-vdo/encodings.c
drivers/md/dm-vdo/encodings.h