master - raid: improve table reload sequence
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=069039204002e5c8514050fe541bbd378c383a02 Commit: 069039204002e5c8514050fe541bbd378c383a02 Parent: 7dff632c11e6ddce77dc9cde8f9011bb22970589 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Dec 13 12:31:28 2016 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Dec 13 22:07:52 2016 +0100
raid: improve table reload sequence
This is another place for 'common' use pattern or reload and activation of deleted devices.
(Moving the exclusive activation to _deactivate_and_remove_lvs()).
TODO: looks like halve of raid function is reloading just 'origin' - and the other full LV.
--- WHATS_NEW | 1 + lib/metadata/raid_manip.c | 60 ++++++-------------------------------------- 2 files changed, 10 insertions(+), 51 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.169 - ===================================== + Reusing exiting code for raid image removal. Fix pvmove leaving -pvmove0 error device in clustered VG. Avoid adding extra '_' at end of raid extracted images or metadata. Optimize another _rmeta clearing code.
lib/metadata/raid_manip.c +9 -51
83 lines not on this page · raw message