1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/device_mapper
Zdenek Kabelac 9a735a3998 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.

(cherry picked from commit 158d3243b6)
2024-11-13 10:58:07 +01:00
..
datastruct gcc: match types 2021-09-22 17:18:50 +02:00
ioctl cleanup: typos in comments 2024-08-30 16:51:15 +02:00
misc cleanup: typos in comments 2024-08-30 16:51:15 +02:00
mm cleanup: typos in comments 2024-08-30 16:51:15 +02:00
regex build: get separate builddir working again 2018-06-04 13:22:14 +01:00
vdo vdo: fix input units for minimim_io_size 2024-11-13 10:58:07 +01:00
all.h device_mapper: add dm_config_parse_only_section 2024-10-22 19:36:00 +02:00
libdm-common.c libdm: do not fail if GETVAL semctl fails for udev sync inc and dec 2024-09-05 12:14:42 +02:00
libdm-common.h device_mapper: rename libdevmapper.h -> all.h 2018-06-08 12:31:45 +01:00
libdm-config.c device_mapper: add omitted error message 2024-10-25 01:26:39 +02:00
libdm-deptree.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
libdm-file.c cov: hide some false positives 2023-05-10 16:19:46 +02:00
libdm-report.c device_mapper: join flags checks together 2024-10-22 19:36:00 +02:00
libdm-string.c device_mapper: use static array for dm_size_to_string 2024-10-28 20:07:37 +01:00
libdm-targets.c gcc: use proper commnent 2024-05-14 17:59:26 +02:00
libdm-timestamp.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile makefiles: use properly defined varitable 2024-05-14 17:59:26 +02:00