master - pools: move removal of _pmspare
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=cb273fe16423a2868c0bdde7c8e56cb21131338d Commit: cb273fe16423a2868c0bdde7c8e56cb21131338d Parent: 20803f2275d9eb08344c4882e62381cf23454eba Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Oct 3 23:34:16 2014 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Oct 6 15:18:06 2014 +0200
pools: move removal of _pmspare
Since _pmspare is internal volume move it to lv_remove_single - so it's automatically removed with last remove thin-pool.
lv_remove_with_dependencies() is not always used for pool removal.
--- WHATS_NEW | 1 + lib/metadata/lv_manip.c | 43 +++++++++++++++++++++++-------------------- 2 files changed, 24 insertions(+), 20 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.112 - ===================================== + Always remove spare LV with last removed pool volume. Support lvconvert --splitcache and --uncache of cached LV. Option --cache has also shortcut -H (i.e. lvcreate -H). Refactor lvcreate code and better preserve --type argument.
lib/metadata/lv_manip.c +23 -20
69 lines not on this page · raw message