Hi,

I am reading the code of merge() function in image.py and get one question about the code. I wonder why we should get the volume parameters from the parent of the destination volume if the parent is existing instead from the destination volume itself?

1101    if dstParentUUID != sd.BLANK_UUID:
                    volParams = vols[dstParentUUID].getVolumeParams()
            else:
 1105           volParams = dstVol.getVolumeParams()

--
Shu Ming <shum...@linux.vnet.ibm.com>
IBM China Systems and Technology Laboratory


_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to