[lvm-devel] [PATCH] RFC: Filter LV list

Tony Asleson tasleson at redhat.com
Wed Jul 24 18:37:14 UTC 2013


Added function lvm_vg_list_filtered_lvs which allows the
caller to specify all or just visible LVs to return.  Also
allows future filtering possiblities if needed.

This functionality is needed so that we don't expose
hidden LVs in targetd.

Tony Asleson (1):
  lvm2app: Add filtered LV list ability in library.

 liblvm/lvm2app.h | 28 ++++++++++++++++++++++++++++
 liblvm/lvm_vg.c  | 24 ++++++++++++++++++------
 python/liblvm.c  | 26 ++++++++++++++++++++++----
 3 files changed, 68 insertions(+), 10 deletions(-)

-- 
1.8.1.4




More information about the lvm-devel mailing list