1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/config
Zdenek Kabelac bc39d5bec6 pool: zero metadata
To avoid polution of metadata with some 'garbage' content or eventualy
some leak of stale data in case user want to upload metadata somewhere,
ensure upon allocation the metadata device is fully zeroed.

Behaviour may slow down allocation of thin-pool or cache-pool a bit
so the old behaviour can be restored with lvm.conf setting:
allocation/zero_metadata=0

TODO: add zeroing for extension of metadata volume.
2020-06-24 15:01:03 +02:00
..
config_settings.h pool: zero metadata 2020-06-24 15:01:03 +02:00
config.c Place the first PE at 1 MiB for all defaults 2018-11-26 16:36:50 -06:00
config.h Place the first PE at 1 MiB for all defaults 2018-11-26 16:36:50 -06:00
defaults.h pool: zero metadata 2020-06-24 15:01:03 +02:00