Change in ovirt-engine[master]: engine: Fixing perfomance issue between VdsRunTimeInfo and R...
mkublin at redhat.com
mkublin at redhat.com
Wed Apr 10 07:17:29 UTC 2013
Michael Kublin has submitted this change and it was merged.
Change subject: engine: Fixing perfomance issue between VdsRunTimeInfo and RunVmCommandBase
......................................................................
engine: Fixing perfomance issue between VdsRunTimeInfo and RunVmCommandBase
After introducing atomic update, no need for special lock inside of
RunVmCommandBase.decreasePendingVms()
In order to keep functionality for delay: SynchronousQueue will be used.
The thread will stuck until time out or some other thread will add some object to queue
Change-Id: Ia6c6e26c79dc6c06c9621e1938ecd034e9ce7ec7
Signed-off-by: Michael Kublin <mkublin at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommandBase.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsMonitor.java
2 files changed, 21 insertions(+), 48 deletions(-)
Approvals:
Michael Kublin: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/13740
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6c6e26c79dc6c06c9621e1938ecd034e9ce7ec7
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
More information about the Engine-commits
mailing list