[lvm-devel] [PATCH 0/5] Add infrastructure for cleaner pv handling

Dave Wysochanski dwysocha at redhat.com
Wed Apr 28 15:55:37 UTC 2010


This patchset adds some infrastructure to move us more towards the
goal of removing the standalone PV object.

>From now on, a user that wants to get/set a PV property and
knows only the pvname must first lookup the vgname, then obtain
a vg handle, and finally use the pv handle to get/set the property.

The next to last patch reworks pvchange to use this new functionality.

The last patch adds lvm2app interfaces to lookup a vgname from a pvname
and pvid, which will be useful for udisks and other applications that
may not know the vgname but want information on a specific device/PV.





More information about the lvm-devel mailing list