update-sb checked the new parameters with calc_lengths() only, so for
example --journal_size 1T was written and the OSD then refused to start
with "Requested journal_size is too large". Also run check_lengths(),
as the OSD does after calc_lengths(). dump-meta keeps the lighter check,
so it can still read an OSD that doesn't start.
--io only sets how vitastor-disk itself opens the devices, but update-sb
wrote it into the superblock too, for example "io": "cached". Leave it
out like --force.
update-sb wrote any value, so for example --meta_block_size 4294967296
left an OSD that refused to start. Load the resulting parameters the way
dump-meta does (parse them, open the devices, calculate the layout) and
refuse to write them if that fails, leaving the superblock as it was.
--force writes them anyway, as it already skips the superblock validation.
update-sb copied every entry of the tool's options into the superblock.
read_osd_superblock() looks options["io"] up with operator[], which adds
an empty "io", so every update-sb also wrote "io": "" into the
superblock. Copy the requested parameters before reading the superblock.