Yeela Kaplan has uploaded a new change for review.

Change subject: lvm: Enhance lvm performance by using devmapper full path
......................................................................

lvm: Enhance lvm performance by using devmapper full path

Change-Id: If92940f132238d90e91c1e9ddfecb68df453e1d8
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=981055
Signed-off-by: Yeela Kaplan <[email protected]>
---
M vdsm/storage/lvm.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/30/16730/1

diff --git a/vdsm/storage/lvm.py b/vdsm/storage/lvm.py
index c1732c7..036d199 100644
--- a/vdsm/storage/lvm.py
+++ b/vdsm/storage/lvm.py
@@ -134,7 +134,8 @@
     for dev in devList:
         strippedDev = dev.strip()
         if strippedDev:
-            devs.append(strippedDev.replace(r'\x', r'\\x'))
+            prefixedDev = os.path.join(PV_PREFIX, strippedDev)
+            devs.append(prefixedDev.replace(r'\x', r'\\x'))
     filt = '|'.join(devs)
     if len(filt) > 0:
         filt = "'a%" + filt + "%', "


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If92940f132238d90e91c1e9ddfecb68df453e1d8
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to