[lvm-devel] LVM2 ./WHATS_NEW lib/metadata/metadata.c

Alasdair G Kergon agk at redhat.com
Thu Apr 10 16:26:26 UTC 2008


On Tue, Apr 08, 2008 at 11:55:03AM +0100, Bryn M. Reeves wrote:
> In that case, vginfo_from_vgname returns NULL - we
> cannot rely on getting the format type from the cache since that
> requires there to always be at least one orphan for each format type
> on-disk (or we need to change the cache to make one up in that case).

> Unless you already have at least one orphan PV of the same format type.

I changed the cache to be pre-populated with all the orphan VGs, even if they
contain no PVs.
 
Alasdair
-- 
agk at redhat.com




More information about the lvm-devel mailing list