summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-08-02 15:34:00 -0400
committerRussell Bryant <rbryant@redhat.com>2012-08-06 15:09:33 -0400
commit2ee42aafde64af6d64a1f34a6204fd80e7dd01fd (patch)
treefac26bea8720c878cd8b899002cf16249f3db3a6 /nova/openstack
parent6b42978eb4bf740f148a6bb200b331660755b53b (diff)
Reduce db access in prep_resize in the compute manager.
This patch changes the arguments passed to prep_resize in the compute manager. Previously it took instance and instance_type IDs. It now receives a full dict for both of these. This cuts down on database access needed on the compute node. This method was not previously in the compute rpcapi module, so it has been added there. The scheduler had a bit of work done ot get it to use the rpcapi module for prep_resize, as well. Part of blueprint no-db-messaging. Change-Id: Idadbf4fc624d5d1b128f758a46c61b3c840b9898
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions