master - validation: rework segment validation
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=9491ab41cd61501039027fa5d7cfe89f78504132 Commit: 9491ab41cd61501039027fa5d7cfe89f78504132 Parent: eacff5c189d0cb3c6ac17a8f0af0fe440f12c4b7 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Dec 20 15:59:11 2016 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Thu Dec 22 23:37:07 2016 +0100
validation: rework segment validation
Move individual segment validation to a separate function executed for 'complete_vg'.
Move some 'extra' validation bits from 'raid' validation to global segtype validation (so extending existing normal validation)
TODO: still some test are left to be moved.
Reduce some duplication in validation process - there are still some left thought so still room for improving overal speed.
--- WHATS_NEW | 1 + lib/metadata/merge.c | 527 ++++++++++++++++++++++---------------------------- 2 files changed, 233 insertions(+), 295 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.169 - ===================================== + Extend validation of metadata processing. Enable usage of cached volumes as snapshot origin LV. Fix displayed lv name when splitting snapshot (2.02.146). Warn about command not making metadata backup just once per command.
lib/metadata/merge.c +232 -295
607 lines not on this page · raw message