[lvm-devel] [PATCH 00/20] Add lvm vg and pv properties for lvm2app.

Dave Wysochanski dwysocha at redhat.com
Wed Sep 22 21:06:12 UTC 2010


This patchset is a repost and add onto the previous patchset
posted to lvm-devel on 9/15/2010.  It continues that patchset
and adds pv properties and addresses comments made on the vg
patchset.

Notable changes:
1. Refactor parts of metadata.[ch] into {pv|vg|lv}.ch.
2. Added 'const' to 'get' object functions
3. Improve type safety on vg_get_property() and pv_get_property()
4. Add "_dup" suffix to helper functions that allocate/dup strings.

All vg and pv properties may now be queried with this patchset.
The refactoring of metadata.[ch] into specific files was only
done for functions related to report field calculations.  In
the future, further functionality may be moved to these specific
files, and common functions will remain inside metadata.[ch].




More information about the lvm-devel mailing list