1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/lib
David Teigland c22ad12bab metadata: extend writes to zero space
Previously, consecutive copies of metadata would have garbage
data in the space between them.  After metadata wrapping,
the garbage would be portions of old metadata.  This made
analysis of the metadata area more difficult.

This would happen because the start of new copy of metadata
is advanced from the end of the last copy to start at the
next 512 byte boundary.

Zero the space between consecutive copies of metadata by
extending each metadata write to end at the next 512 byte
boundary.  The size of the metadata itself is not extended,
only the write.  The buffer being written contains the
metadata text followed by the necessary number of zeros.
2019-07-12 15:00:12 -05:00
..
activate activation: synchronize before removing devices 2019-03-20 14:39:09 +01:00
cache scanning: open devs rw when rescanning for write 2019-06-21 10:57:49 -05:00
cache_segtype Use "cachevol" to refer to cache on a single LV 2019-02-27 08:52:34 -06:00
commands exported vg handling 2019-06-25 15:39:08 -05:00
config config: Fix default option which makes no sense 2019-06-17 19:08:28 +02:00
datastruct build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
device enable full md component detection at the right time 2019-07-10 13:30:50 -05:00
display display: basic vdo segment lvdisplay and lvs support 2018-07-09 15:28:35 +02:00
error device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
filters devs: rename dev_is_md dev_is_md_component 2019-05-21 11:44:39 -05:00
format_text metadata: extend writes to zero space 2019-07-12 15:00:12 -05:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
label enable full md component detection at the right time 2019-07-10 13:30:50 -05:00
locking locking: fix repeated convert to ex 2019-06-10 13:37:03 -05:00
log logging: remove unused code 2019-02-28 10:30:54 -06:00
lvmpolld device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
metadata md component detection for differing PV and device sizes 2019-07-09 13:40:41 -05:00
mirror lvmlockd: do not allow mirror LV to be activated shared 2019-04-04 13:21:38 -05:00
misc remove unused trustcache option 2019-06-11 11:42:49 -05:00
mm memlock: extend exception list 2018-07-02 10:24:20 +02:00
notify build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
properties build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
raid Merge branch '2018-06-04-data-structs' 2018-06-08 14:21:07 +01:00
report Use "cachevol" to refer to cache on a single LV 2019-02-27 08:52:34 -06:00
snapshot Merge branch '2018-06-04-data-structs' 2018-06-08 14:21:07 +01:00
striped device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
thin Merge branch '2018-06-04-data-structs' 2018-06-08 14:21:07 +01:00
unknown device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
uuid build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
vdo vdo: fix archived metadata comment 2019-01-21 12:37:52 +01:00
writecache remove unused string writecache 2019-05-01 16:50:14 -05:00
zero device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile.in add device hints to reduce scanning 2019-01-15 10:23:47 -06:00