[master 1/1] Do not update size information on LVM snapshots
vojtechtrefny
installerbot-noreply at redhat.com
Tue Apr 28 14:39:14 UTC 2015
From: Vojtech Trefny <vtrefny at redhat.com>
Current updateSize method implementation checks the size of devices
in /sys where the size of LVM snapshots is incorrect (it reports the
size of the LV instead of the actual size of the snapshot).
Signed-off-by: Vojtech Trefny <vtrefny at redhat.com>
---
blivet/devices/lvm.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/blivet/devices/lvm.py b/blivet/devices/lvm.py
index d7526e4..2c381dc 100644
--- a/blivet/devices/lvm.py
+++ b/blivet/devices/lvm.py
@@ -966,6 +966,9 @@ def dependsOn(self, dep):
return (self.origin == dep or
super(LVMSnapShotBase, self).dependsOn(dep))
+ def updateSize(self):
+ pass
+
class LVMThinPoolDevice(LVMLogicalVolumeDevice):
""" An LVM Thin Pool """
_type = "lvmthinpool"
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/34f5b86904c33eca17137ffedb110fe18cb98c20
More information about the anaconda-patches
mailing list