Change in vdsm[master]: vdsm-tool: speedup loading seboolsetup.py

danken at redhat.com danken at redhat.com
Mon Jul 8 12:11:39 UTC 2013


Dan Kenigsberg has submitted this change and it was merged.

Change subject: vdsm-tool: speedup loading seboolsetup.py
......................................................................


vdsm-tool: speedup loading seboolsetup.py

On RHEL6 "import seobject" takes a very long time. This patch moves the
seobject import statement in seboolsetup.py from module top level to
function level. This small modification reduces the total startup time
of VDSM, since VDSM moves most of the management utilities into
vdsm-tool.

Change-Id: I7f961e2661159f671b17f3ab4fb3d5a7cbc3d6b9
Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Reviewed-on: http://gerrit.ovirt.org/16560
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M lib/vdsm/tool/seboolsetup.py
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Dan Kenigsberg: Looks good to me, approved
  Zhou Zheng Sheng: Verified


-- 
To view, visit http://gerrit.ovirt.org/16560
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7f961e2661159f671b17f3ab4fb3d5a7cbc3d6b9
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list