1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Heinz Mauelshagen 8f62b7bfe5 vg_validate: segment check enhancements for raids to catch bogus metadata
General RAID and RAID segment type specific checks are added
to merge.c. New static _check_raid_seg() is called on each segment
of a RaidLV (which have just one) from check_lv_segments().

New checks caught some unititialized segment members
which are addressed here as well:

- initialize seg->region_size to 0 in lvcreate.c for raid0/raid0_meta

- initialize list seg->origin_list in lv_manip.c
2016-07-27 18:17:29 +02:00
..
activate thin: fix link validation for unused thin-pool 2016-07-01 00:44:46 +02:00
cache lvmetad: fix use committed metadata to update 2016-07-20 10:25:26 -05:00
cache_segtype lvchange: allow change of cache mode 2016-05-19 18:40:14 +02:00
commands libdm: log: remove log_print_bypass_report calls and register new print_log_libdm for libdm during lvm initialization instead 2016-06-23 14:45:52 +02:00
config lvcreate: raid0 needs default number of stripes 2016-07-20 17:20:15 +02:00
datastruct datastruct: Add str_list_wipe. 2016-04-29 19:47:15 +01:00
device devices: handle partscan loop devices 2016-06-01 17:37:47 +02:00
display cleanup: warns from older gcc 2016-07-01 00:44:48 +02:00
error activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
filters vgimportclone: add native command 2016-06-22 13:13:10 -05:00
format1 redefine pvcreate structs 2016-02-25 09:14:10 -06:00
format_pool macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
format_text cleanup: drop unused header files 2016-07-04 17:40:24 +02:00
freeseg doc: change fsf address 2016-01-21 12:11:37 +01:00
label lvmcache: add optional dev arg to lvmcache_info_from_pvid 2016-06-07 15:15:47 -05:00
locking lvmlockd: improve error message about missing global lock 2016-07-25 14:49:01 -05:00
log tests: increase max lines for clvmd 2016-07-11 14:45:25 +02:00
lvmpolld doc: change fsf address 2016-01-21 12:11:37 +01:00
metadata vg_validate: segment check enhancements for raids to catch bogus metadata 2016-07-27 18:17:29 +02:00
mirror activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
misc string: Add first_substring(). 2016-07-14 14:46:38 +01:00
mm cleanup: compile fixes for --disable-devmapper 2016-06-03 12:46:43 +02:00
notify coverity: drop unused header file 2016-04-22 01:12:34 +02:00
properties doc: change fsf address 2016-01-21 12:11:37 +01:00
raid raid0: Add raid0_meta segment type. 2016-07-01 22:20:54 +01:00
replicator doc: change fsf address 2016-01-21 12:11:37 +01:00
report macros: Add lv_is_not_synced. 2016-07-14 14:21:01 +01:00
snapshot activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
striped activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
thin macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
unknown doc: change fsf address 2016-01-21 12:11:37 +01:00
uuid coverity: missing check for id_write_format return value 2016-05-31 09:56:10 +02:00
zero activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
Makefile.in vgimportclone: add native command 2016-06-22 13:13:10 -05:00