1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test
David Teigland 8454ce66c5 writecache: let block_size setting override device block sizes
In cases where lvconvert does not detect a fs block size on the
device, it falls back to choosing a writecache block size based
on the device's LBS and PBS (tries to match those.)

If the user specifies a writecache block size on the command
line (--cachesettings block_size=4096|512), lvconvert currently
fails and reports an error if the user-specified value does not
match the value lvconvert would have chosen based on LBS and PBS.

The purpose of allowing a user-specified value on the command line
is to override what lvconvert would otherwise do, so change this
to just print a warning that the user value does not match the
value that would be chosen based on the LBS/PBS, and then take
the user-specified value as the writecache block size.
2021-02-02 13:52:31 -06:00
..
api tests: disable dbustest with valgrind testing 2020-09-10 23:55:03 +02:00
dbus lvmdbusd: Add support for LVM writecache 2020-08-06 13:54:34 -05:00
lib aux: update thin_restore_needs_more_volumes 2021-02-01 12:13:49 +01:00
shell writecache: let block_size setting override device block sizes 2021-02-02 13:52:31 -06:00
unit bcache: use indirection table for fd 2020-09-18 15:10:11 -05:00
.gitignore test: add results/ to .gitignore 2016-12-10 18:00:25 +00:00
Makefile.in makefiles: document supported var in make help 2020-09-25 22:59:35 +02:00