mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Thin dependency scan support
Go through pool_lv and metadata_lv LVs when doing recursive scan.
This commit is contained in:
parent
bdba904d7c
commit
c217690f4c
@ -2056,6 +2056,10 @@ static int _lv_each_dependency(struct logical_volume *lv,
|
||||
return_0;
|
||||
if (lvseg->rlog_lv && !fn(lvseg->rlog_lv, data))
|
||||
return_0;
|
||||
if (lvseg->pool_lv && !fn(lvseg->pool_lv, data))
|
||||
return_0;
|
||||
if (lvseg->metadata_lv && !fn(lvseg->metadata_lv, data))
|
||||
return_0;
|
||||
for (s = 0; s < lvseg->area_count; ++s) {
|
||||
if (seg_type(lvseg, s) == AREA_LV && !fn(seg_lv(lvseg,s), data))
|
||||
return_0;
|
||||
|
Loading…
Reference in New Issue
Block a user