[lvm-devel] master - lvm2app: lvm_vg_list_lvs filter hidden LVs

Tony Asleson tasleson at redhat.com
Tue Jul 23 19:58:20 UTC 2013


On 07/23/2013 02:27 PM, Zdenek Kabelac wrote:
> Dne 23.7.2013 21:03, tasleson napsal(a):
>> Gitweb:       
>> http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a2b51476007aae91acfc121a7fd2ce04f3b08781
>>
>> Commit:        a2b51476007aae91acfc121a7fd2ce04f3b08781
>> Parent:        31de670318c9794690601468def392cd7e4eb0fc
>> Author:        Tony Asleson <tasleson at redhat.com>
>> AuthorDate:    Tue Jul 23 14:57:53 2013 -0400
>> Committer:     Tony Asleson <tasleson at redhat.com>
>> CommitterDate: Tue Jul 23 14:01:20 2013 -0500
>>
>> lvm2app: lvm_vg_list_lvs filter hidden LVs
>>
>> The function lvm_vg_list_lvs was returning all logical
>> volumes, including *_tmeta and *_tdata.  Added check
>> to verify that LV is visible before including in list
>> of returned logical volumes.
> 
> I'm afraid you can't break API this way.
> If there is a need for filtered list - you need to filter
> list passed from this function - or add something like
> lvm_vg_list_visible_lvs.

What kind of modifications are users doing to the hidden meta-data/data
components of a LV thin pool that they would reference each part
individually?

Thanks,
Tony




More information about the lvm-devel mailing list