1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/activate
Zdenek Kabelac e8e6347ba3 vdo: use fixed size vdopool wrapper
Instead of using size of 'empty header' in vdopool use fixed size 4K
for a 'wrappeing' vdo-pool device.

This fixes the issue when user tried to activate vdo-pool after
a conversion from vdo managed device with 'vgchange -ay' - where
this command activated all LVs with 'vdo-pool' wrapping device as well,
but this converted pool uses  0-length header.

This 4k size should usually prevent other tools like 'blkid' recognize
such device as anything - so it shouldn't cause any problems with
duplicate indentification of devices.
2023-04-06 11:06:04 +02:00
..
activate.c vdo: read live vdo size configuration 2023-01-16 12:37:40 +01:00
activate.h vdo: read live vdo size configuration 2023-01-16 12:37:40 +01:00
dev_manager.c vdo: use fixed size vdopool wrapper 2023-04-06 11:06:04 +02:00
dev_manager.h vdo: read live vdo size configuration 2023-01-16 12:37:40 +01:00
fs.c cov: avoid using strcpy 2023-02-17 00:00:04 +01:00
fs.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
targets.h doc: change fsf address 2016-01-21 12:11:37 +01:00