Change in ovirt-engine[master]: core: ImagesHandler#isDiskImageRawBlock performance

amureini at redhat.com amureini at redhat.com
Wed Dec 23 14:56:25 UTC 2015


Allon Mureinik has submitted this change and it was merged.

Change subject: core: ImagesHandler#isDiskImageRawBlock performance
......................................................................


core: ImagesHandler#isDiskImageRawBlock performance

Since a DiskImage object has the getStorageTypes() methods, there's no
need to re-read them from the database, and the in-memory values could
be used to improve performance.

Change-Id: Id031970a8ef5a79c185f5dd94f496384c8032a6a
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/ImagesHandler.java
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Greg Padgett: Looks good to me, but someone else must approve
  Allon Mureinik: Verified; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/50475
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id031970a8ef5a79c185f5dd94f496384c8032a6a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list