[lvm-devel] [PATCH 00/03] Add generic VG 'set' property function for lvm2app.

Dave Wysochanski wysochanski at pobox.com
Thu Nov 11 16:41:54 UTC 2010


(Re-send.  For some reason this set did not hit lvm-devel last week.)

This small patchset implements a 'set' property function for lvm2app.
The 'set' function is only defined for certain 'settable' properties.
Initially, we only define it for vg_mda_copies, but future patches
can define a 'set' function for any property in one of the {pv|vg|lv}change
lvm functions.  In this way, we do not need separate lvm2app functions for
pvchange, lvchange, and vgchange, but can just allow the application to 'get'
and then 'set' the property.

Just cleaning out my remaining in-progress patches.




More information about the lvm-devel mailing list