/[smeserver]/rpms/anaconda/sme9/0008-StorageActivationFail.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme9/0008-StorageActivationFail.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Fri Jan 3 22:12:21 2014 UTC (10 years, 5 months ago) by charliebrady
Branch: MAIN
Changes since 1.1: +5 -6 lines
Adjust SME specific patches to have zero offset to avoid .py.orig files. Fix changelog
entry for [SME: 8038] change.

1 charliebrady 1.2 diff -ruN anaconda-13.21.215/storage/devices.py.orig anaconda-13.21.215/storage/devices.py
2     --- anaconda-13.21.215/storage/devices.py.orig 2014-01-02 09:58:16.798914618 -0500
3     +++ anaconda-13.21.215/storage/devices.py 2014-01-02 09:58:16.818914522 -0500
4     @@ -1880,7 +1880,7 @@
5 wellsi 1.1
6     # TODO: validate peSize if given
7     if not self.peSize:
8     - self.peSize = 4.0 # MB
9     + self.peSize = 32.0 # MB
10    
11     if not self.exists:
12     self.pvCount = len(self.parents)
13 charliebrady 1.2 @@ -2250,6 +2250,11 @@
14 wellsi 1.1 used = sum(lv.vgSpaceUsed for lv in self.lvs) + self.snapshotSpace
15     used += self.reservedSpace
16     free = self.size - used
17     +
18     + pad = self.peSize * 2 * len(self.pvs)
19     + if free >= pad:
20     + free -= pad
21     +
22     log.debug("vg %s has %dMB free" % (self.name, free))
23     return free
24    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed