]> git.ipfire.org Git - thirdparty/linux.git/commit
dm vdo: add geometry block encoding
authorBruce Johnston <bjohnsto@redhat.com>
Tue, 24 Mar 2026 18:06:48 +0000 (14:06 -0400)
committerMikulas Patocka <mpatocka@redhat.com>
Thu, 26 Mar 2026 17:18:42 +0000 (18:18 +0100)
commit427bf2c1f77435b36749a03e4f9d4549e3807e2d
treeb31ff0cab08bb65960be8a8812af539107154d13
parentbeced130a367e0b99fa9424505ee7f07ddea86de
dm vdo: add geometry block encoding

Add vdo_encode_volume_geometry() to write the geometry block into a
buffer so that it can be written to disk. The corresponding decode
path already exists.

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/encodings.c
drivers/md/dm-vdo/encodings.h