mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
thin: origin only suspend
Skip tree creating when used with origin_only flag.
This commit is contained in:
parent
1946a45329
commit
cf8e1a0093
@ -1,5 +1,6 @@
|
||||
Version 2.02.98 -
|
||||
=================================
|
||||
Skip building dm tree for thin pool when called with origin_only flag.
|
||||
Add internal lv_rename_update() to rename LV without updating mda.
|
||||
Ensure descriptors 0,1,2 are always available.
|
||||
Use /proc/self/fd for closing openned descriptors.
|
||||
|
@ -1369,7 +1369,7 @@ static int _add_lv_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
|
||||
seg = first_seg(lv);
|
||||
}
|
||||
|
||||
if (lv_is_thin_pool(lv)) {
|
||||
if (!origin_only && lv_is_thin_pool(lv)) {
|
||||
if (!_add_lv_to_dtree(dm, dtree, seg->metadata_lv, 0))
|
||||
return_0;
|
||||
/* FIXME code from _create_partial_dtree() should be moved here */
|
||||
|
Loading…
Reference in New Issue
Block a user