]> git.ipfire.org Git - thirdparty/linux.git/commit
dm vdo: add formatting parameters to table line
authorBruce Johnston <bjohnsto@redhat.com>
Tue, 24 Mar 2026 18:06:46 +0000 (14:06 -0400)
committerMikulas Patocka <mpatocka@redhat.com>
Thu, 26 Mar 2026 17:18:08 +0000 (18:18 +0100)
commit2fb98e4170c4a0d9ebe091ca2421121daa352de0
tree405aa519f0574311c3db4e25891d5e1495e94ca9
parente073bb098ae28a909ece08ec05a6c59dbd282b12
dm vdo: add formatting parameters to table line

Extend the dm table line with three new optional parameters:
indexMemory (UDS index memory size), indexSparse (dense vs sparse
index), and slabSize (blocks per allocation slab). These values are
parsed, validated, and stored in the device configuration for use
during formatting.

Rework the slab size constants from the single MAX_VDO_SLAB_BITS into
explicit MIN_VDO_SLAB_BLOCKS, MAX_VDO_SLAB_BLOCKS, and
DEFAULT_VDO_SLAB_BLOCKS values.

Bump the target version from 9.1.0 to 9.2.0 to reflect this table
line change.

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