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 <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/16560
Reviewed-by: Dan Kenigsberg <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: Zhou Zheng Sheng <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to