Dan Kenigsberg has submitted this change and it was merged. Change subject: mounts: Optimize mount loop device resolution ......................................................................
mounts: Optimize mount loop device resolution Existing code was re-reading mtab for each /proc/mounts entry. Added lookup dictionary that translates /dev/loop spec to actual file spec. Lookup is reinitialized each time mtab is changed. Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1112779 Change-Id: I54f11786b45782cedd994d52e1e506292132fa47 Signed-off-by: Dima Kuznetsov <[email protected]> Reviewed-on: http://gerrit.ovirt.org/28586 Reviewed-by: Saggi Mizrahi <[email protected]> Tested-by: Saggi Mizrahi <[email protected]> --- M tests/mountTests.py M vdsm/storage/mount.py 2 files changed, 152 insertions(+), 10 deletions(-) Approvals: Saggi Mizrahi: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/28586 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I54f11786b45782cedd994d52e1e506292132fa47 Gerrit-PatchSet: 10 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Dima Kuznetsov <[email protected]> Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]> Gerrit-Reviewer: Barak Azulay <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Dima Kuznetsov <[email protected]> Gerrit-Reviewer: Nir Soffer <[email protected]> Gerrit-Reviewer: Saggi Mizrahi <[email protected]> Gerrit-Reviewer: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
