Am 26. November 2010 16:53 schrieb Iustin Pop <[email protected]>: > Currently, the call_node_info RPC does always check both the VG free > space and the hypervisor information. However, in ⅔ of the uses, we only > care about one or the other. Therefore, we change it so that if any of > the passed parameters is None, we don't perform the respective check. We > also modify its callers to only pass in what they need. > > This also helps if the "default" hypervisor is broken and we want to > create an instance for another hypervisor. > > With this patch, the duration of this rpc changes from 500ms to 90ms for > a normal LVM+Xen PVM node.
LGTM
