Change in vdsm[ovirt-3.5]: mounts: Optimize mount loop device resolution
ybronhei at redhat.com
ybronhei at redhat.com
Sun Sep 7 13:39:04 UTC 2014
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 <dkuznets at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/28586
Reviewed-by: Saggi Mizrahi <smizrahi at redhat.com>
Tested-by: Saggi Mizrahi <smizrahi at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/32535
Reviewed-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
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 <ybronhei at redhat.com>
Gerrit-Reviewer: Dima Kuznetsov <dkuznets at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
More information about the vdsm-patches
mailing list