[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 last patch reworks pvchange to use this new functionality.
It passes the testsuite but does still have one bug.  A
setup with a VG containing a PV with metadatacopies == 0 and
pvchange -u --all end up failing because the PV is on both the
orphan VG and the real VG.  I think this is a bug internally
unrelated to this patchset but I have yet to track it down.
It should be fixed before we move the tools to this new method.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]