From: John Hodge Date: Wed, 18 Dec 2013 14:14:20 +0000 (+0800) Subject: Modules/LVM - Log basics of supervolumes X-Git-Tag: rel0.15~61 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=b9dfba489309b35d751b5757e7f0ec390ed0ca4c;p=tpg%2Facess2.git Modules/LVM - Log basics of supervolumes --- diff --git a/KernelLand/Modules/Storage/LVM/volumes.c b/KernelLand/Modules/Storage/LVM/volumes.c index d923d88f..17682676 100644 --- a/KernelLand/Modules/Storage/LVM/volumes.c +++ b/KernelLand/Modules/Storage/LVM/volumes.c @@ -60,6 +60,8 @@ void *LVM_AddVolume(const tLVM_VolType *Type, const char *Name, void *Ptr, size_ // Type->CountSubvolumes dummy_vol.nSubVolumes = fmt->CountSubvolumes(&dummy_vol, first_block); + Log_Debug("LVM", "Volume %s as format %s gives %i sub-volumes", + Name, fmt->Name, dummy_vol.nSubVolumes); // Create real volume descriptor // TODO: If this needs to be rescanned later, having the subvolume list separate might be an idea