/[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.3 - (hide annotations) (download)
Sun Feb 23 03:25:09 2014 UTC (10 years, 3 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
* Sat Feb 22 2014 Ian Wells <esmith@wellsi.com> - 13.21.215-1.el6.sme.4
- Port missing part of architecture check patch from SME 8 [SME: 8083]
- Remove 0008-StorageActivationFail.patch as no longer needed [SME: 8066]

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