Change in vdsm[master]: Distinguish between local and mounted SD's.
abaron at redhat.com
abaron at redhat.com
Sun Dec 16 07:15:35 UTC 2012
Ayal Baron has posted comments on this change.
Change subject: Distinguish between local and mounted SD's.
......................................................................
Patch Set 3: I would prefer that you didn't submit this
(1 inline comment)
Also note that you did not reply to Shu Ming's comment from patch set 1.
....................................................
File vdsm/storage/localFsSD.py
Line 113: mtab = open("/etc/mtab", "r").readlines()
Line 114: for mEntry in mtab:
Line 115: if mEntry.split()[1] in domainPath:
Line 116: # This is a mounted domain therefore not exists as a local SD.
Line 117: isLocal = False
just return False.
Line 118: break
Line 119: else:
Line 120: isLocal = True
Line 121: return isLocal
--
To view, visit http://gerrit.ovirt.org/10024
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I12b5ba80121b8e8d23a63ecc7aaab829bfc67a51
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <ewarszaw at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Eduardo <ewarszaw at redhat.com>
Gerrit-Reviewer: Haim Ateya <hateya at redhat.com>
Gerrit-Reviewer: Shu Ming <shuming at linux.vnet.ibm.com>
Gerrit-Reviewer: Yeela Kaplan <ykaplan at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the vdsm-patches
mailing list