1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 01:55:10 +03:00
lvm2/test
Mike Snitzer 8ad7865b42 Fix alignment of PV data area if detected alignment less than 1 MB
This fixes a long standing regression since LVM2 2.02.74 (commit 4efb1d9c,
"Update heuristic used for default and detected data alignment.")

The default PE alignment could be used (via MAX()) even if it was
determined that the device's MD stripe width, or minimal_io_size or
optimal_io_size were not factors of the default PE alignment (either 64K
or the newer default of 1MB, etc).  This bug would manifest if the
default PE alignment was larger than the overriding hint that the
device provided (e.g. default of 1MB vs optimal_io_size of 768K).

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2013-05-13 15:56:47 -04:00
..
api thin: fix property discard for lvm2api 2012-11-27 14:09:49 +01:00
lib test: correct order 2013-04-23 17:05:19 +02:00
shell Fix alignment of PV data area if detected alignment less than 1 MB 2013-05-13 15:56:47 -04:00
unit TEST: Avoid building unit tests with --disable-testing. 2012-10-09 20:37:34 +02:00
.gitignore gitignore: Remove redundant test dir entry 2012-06-08 23:34:15 +01:00
Makefile.in lvmetad: Warn if lvmetad is running but disabled. 2012-10-10 13:54:29 +02:00