1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-06 00:58:48 +03:00

10995 Commits

Author SHA1 Message Date
Heinz Mauelshagen
5d26fb8647 remove not compiled legacacy functions; comments 2015-08-10 13:52:35 +02:00
Heinz Mauelshagen
acbcdc51a4 fix regression in lv_raid_replace(); enhance striped-raid0 test cases 2015-08-07 16:57:01 +02:00
Heinz Mauelshagen
4e3489c4cd merged more fixes from raid0 striped cli flaws 2015-08-05 15:55:26 +02:00
Heinz Mauelshagen
a5d0bde0bf merged fixes from raid0 striped cli flaws 2015-07-30 12:15:35 +02:00
Heinz Mauelshagen
fa2620f0b8 raid_manip: namespace adjustments start for conversion by duplication 2015-07-29 16:57:39 +02:00
Heinz Mauelshagen
e7c23e166b raid_manip: more conversion by duplicstion support to allow e.g. linear -> raid6 conversions 2015-07-24 19:08:04 +02:00
Heinz Mauelshagen
1a5bef1baa lv_manip: add definition of mirrors for type raid1
raid_manip: clean up linear conversion by intriducing area check function
2015-07-22 19:18:16 +02:00
Heinz Mauelshagen
43b0470233 raid_manip: raid10 reordering, comments 2015-07-06 15:37:24 +02:00
Heinz Mauelshagen
9e239c79fc fluff 2015-06-11 17:11:46 +02:00
Heinz Mauelshagen
f3a9262340 raid_manip: debug messages changed; comments 2015-06-11 12:42:04 +02:00
Heinz Mauelshagen
928c7ecd52 adjustments derived from raid0 upstream backport
raid_manip: support image count change during conversion between mirror and raid1
2015-06-11 02:56:10 +02:00
Heinz Mauelshagen
e884471d09 final upstream merge adjustements 2015-06-08 16:07:11 +02:00
Heinz Mauelshagen
77159c77c5 metadata-exported: forgot merge fixup 2015-06-08 15:16:48 +02:00
Heinz Mauelshagen
0111df15eb Merge branch 'master' into test
Conflicts:
	lib/config/config_settings.h
	lib/metadata/lv_manip.c
	lib/metadata/metadata-exported.h
	lib/metadata/pv_map.c
	lib/metadata/raid_manip.c
	lib/metadata/segtype.h
2015-06-08 15:10:09 +02:00
Heinz Mauelshagen
cd77f9d50c raid_manip: streamline _raid_extract_images; comments 2015-06-08 14:46:25 +02:00
Heinz Mauelshagen
ec4622cdcf raid_manip: factor out _yes_no_conversion() and call it from _raid_reshape()/takoever functions
raid_manip: call takeover helper functions with arguments yes, force and proper new_image_count
2015-06-06 03:03:19 +02:00
Heinz Mauelshagen
c3cfa70a81 raid_manip: reorder functions to avoid prototypes; checks for --stripes/--stripesize/--type combinations
lvconvert: support relative #stripes
2015-06-05 21:42:48 +02:00
Heinz Mauelshagen
981eae7f3b raid_manip: more argument checks in takeover functions; comments
lvconvert: remove raid conversion checks because lv_raid_convert checks them
2015-06-04 04:30:36 +02:00
Heinz Mauelshagen
70392090d0 raid_manip: supporting all takeover conversions (needs more testing); factored out more helper functions to streamline code 2015-06-04 01:34:21 +02:00
Heinz Mauelshagen
ff822ee3ef raid_manip: remove old functions 2015-06-02 22:24:03 +02:00
Heinz Mauelshagen
9c82078d53 raid_manip: introduce _lv_update_and_reload_eliminate_lvs() and integrate _lv_update_and_reload_clear_any_flags in it
introduce TAKEOVER_FN_HEADER and TAKEOVER_HELPER_FN_HEADER for easy indetifying of takeover functions and takeover helper functions
Fluff
2015-06-02 14:38:11 +02:00
Heinz Mauelshagen
cbf7d16b15 raid_manip: use _lv_change_image_count(); free reshape space in new takeover function 2015-06-02 06:28:10 +02:00
Heinz Mauelshagen
f9b11c0c43 raid_manip: raid conversion (i.e. takeover) function table mostly done 2015-06-02 05:14:11 +02:00
Heinz Mauelshagen
975c35e794 raid_manip: dodge _correct_data_lv_names(); introduce _rename_data_lvs() as helper for mirror <-> raid1 conversions 2015-06-02 01:08:22 +02:00
Heinz Mauelshagen
fb7e19bbeb raid_manip: intial infrastructure to use a raid conversion function two dimensional function array 2015-06-01 15:09:58 +02:00
Heinz Mauelshagen
a1ee75169f raid_manip: avoid code duplication; use display_lvname() 2015-06-01 12:51:56 +02:00
Heinz Mauelshagen
7ed051fffc raid_manip: linear -> raid5 fix; comments 2015-05-29 23:01:59 +02:00
Heinz Mauelshagen
566074b3d0 raid_manip: dodge _generate_rimage_suffix() and _unsigned_str_len(), because _insert_raid_layer_for_lv() always gets called with a suffix 2015-05-29 19:45:50 +02:00
Heinz Mauelshagen
2bc5eaa291 raid_manip: dodge _correct_data_lv_names(); introduce _rename_data_lvs() as helper for mirror <-> raid1 conversions 2015-05-29 19:42:02 +02:00
Heinz Mauelshagen
6ae7c4bed6 raid_manip: streamline mirror <-> raid conversion by using helper existing helper functions 2015-05-29 19:03:25 +02:00
Heinz Mauelshagen
1182da9f5a raid_manip: streamline lv_raid_convert by factoring out special case conversions 2015-05-29 14:47:26 +02:00
Heinz Mauelshagen
e025bfd2fe mirror.c: fix bug preventing to add mirror log to lv with multi-segment data sub lvs 2015-05-29 13:44:10 +02:00
Heinz Mauelshagen
957a9c3b4a raid_manip: fix flow after _convert_linear_or_raid0_to_raid0145(); comments 2015-05-29 12:40:07 +02:00
Heinz Mauelshagen
3d57588b5e raid_manip: log possible raid types to be able to convert to if conversion not supported
Introduce SEG_TYPE_NAME_MIRROR
2015-05-28 19:14:32 +02:00
David Teigland
3225f8d175 man: lvmthin chunk and metadata sizes
Clear some stale information, and give a suggestion to use
a metadata size of 1GiB.
2015-05-27 15:53:01 -05:00
Heinz Mauelshagen
9e668f569d raid_manip: remove old _adjust_segtype() in favour of new SEG_* flags based one 2015-05-27 22:32:40 +02:00
Heinz Mauelshagen
7eb268614f raid_manip: fix --stripes N after factoring out _convert_linear_or_raid0_to_raid0145() 2015-05-27 16:16:53 +02:00
Heinz Mauelshagen
d6e3e4f8f7 raid_manip: remove old _adjust_segtype() in favour of new SEG_* flags based one 2015-05-27 14:16:13 +02:00
Zdenek Kabelac
778b66a719 tests: check for idle only for raid type 2015-05-27 11:59:10 +02:00
Zdenek Kabelac
6e4c04b1be lvmetad: missing wrapper for lvmetad less compilation 2015-05-27 11:44:33 +02:00
Zdenek Kabelac
d3abc25e76 tests: check for clmvd socket
A bit hacky since it expects PID_DIR == DEFAULT_RUN_DIR for now,
just to check whether it fixes startup clvmd sync problem.
2015-05-27 11:10:43 +02:00
Zdenek Kabelac
f0a4955eb1 tests: better check for array in sync
Update check for raid array being in sync - getting somewhat complex.
It's another way to fight with problems in:
https://bugzilla.redhat.com/show_bug.cgi?id=1210637
2015-05-27 11:10:43 +02:00
Zdenek Kabelac
c254743ef3 tests: drop debug print 2015-05-27 11:10:43 +02:00
Zdenek Kabelac
d1531ab26d cleanup: gcc warn fix, don't hide pvs() 2015-05-27 11:10:43 +02:00
Ondrej Kozina
1aba262edb lvmpolld: terminate error message with a dot and LF 2015-05-27 11:10:43 +02:00
Heinz Mauelshagen
ea10a99304 raid_manip: rework _adjust_segtype() to _possible_segtype() using segment_type flag to compare; rename dm_status_raid members from *region to *sectors comments 2015-05-26 20:39:44 +02:00
Ondrej Kozina
f0268585dd WHATS_NEW: various updates
commit c069aff21b1450923b59e98ab709a5e667cdcda9
commit 8af5f54824f889c438104625dbe159f6e8dedbc4
2015-05-26 16:28:04 +02:00
Ondrej Kozina
8af5f54824 dmsetup: zero errno in before strtoul call
Testing errno value without explicitly setting to
zero in before the strtoul call may lead to
unexpected failures.
2015-05-26 16:27:10 +02:00
Ondrej Kozina
c069aff21b lvmpolld: zero errno in before strtoul call
Testing errno value without explicitly setting to
zero in before the strtoul call may lead to
unexpected failures.
2015-05-26 16:27:03 +02:00
Ondrej Kozina
a72a805896 lvconvert.c: fix whitespace mess 2015-05-26 16:26:57 +02:00