1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-25 01:34:38 +03:00
lvm2/device_mapper/vdo
Zdenek Kabelac 158d3243b6 vdo: fix input units for minimim_io_size
When specifying minimum_io_size with --vdosettings,
command assumed wrong unit (sectors).

So '--vdosettings minimum_io_size=512|4096' resulted into
an error that only 512 or 4096 values are allowed, but
at the same time values  1 or 8 were accepted.

So fix by converting any number >= 512 to 'sectors' and
keep input of 1 or 8 still valid if anyone has been using
this before.

So now we take  512 or 4096  and still also  1 or 8 with the
same effect.

Also correct the 'error' message when invalid minimum_io_size
is specified.
2024-11-08 19:41:18 +01:00
..
status.c configure: avoid repeative inclusion of configure.h 2018-12-21 19:19:50 +01:00
target.h vdo: check_point_frequence is unused option 2023-06-29 13:10:42 +02:00
vdo_limits.h vdo: use defines also for configuration defines 2022-07-11 01:18:24 +02:00
vdo_reader.c gcc: do not mix signess compare 2024-11-06 00:04:54 +01:00
vdo_target.c vdo: fix input units for minimim_io_size 2024-11-08 19:41:18 +01:00