Yaniv Bronhaim 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]> Reviewed-on: http://gerrit.ovirt.org/32535 Reviewed-by: Yaniv Bronhaim <[email protected]> --- M tests/mountTests.py M vdsm/storage/mount.py 2 files changed, 152 insertions(+), 10 deletions(-) Approvals: Yaniv Bronhaim: Looks good to me, approved Saggi Mizrahi: Verified -- To view, visit http://gerrit.ovirt.org/32535 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I54f11786b45782cedd994d52e1e506292132fa47 Gerrit-PatchSet: 2 Gerrit-Project: vdsm Gerrit-Branch: ovirt-3.5 Gerrit-Owner: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: Dima Kuznetsov <[email protected]> Gerrit-Reviewer: Saggi Mizrahi <[email protected]> Gerrit-Reviewer: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: [email protected] _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
