Merging from default production
authorRail Aliiev <rail@mozilla.com>
Thu, 12 Jun 2014 15:34:59 -0400
branchproduction
changeset 1830 d1ee77767258cc6c7cb25d79123bcff223accafb
parent 1828 d1d201e9f08c9054986fce28f3762f5cad83ff20 (current diff)
parent 1829 f6095fab3f5332c18f3d6ff8af76ba0e4df4547a (diff)
child 1832 f903eedd329302db29a40feabefcce99dff5e201
push id1373
push userraliiev@mozilla.com
push dateThu, 12 Jun 2014 19:35:05 +0000
bugs1023477
Merging from default changeset: 1829:f6095fab3f53 tag: tip parent: 1827:9f2fb7db6535 user: Rail Aliiev <rail@mozilla.com> date: Thu Jun 12 15:34:44 2014 -0400 summary: Bug 1023477 - reduce EBS writes by removing journal, tweaking writeout. r=Callek
--- a/modules/tweaks/manifests/filesystem.pp
+++ b/modules/tweaks/manifests/filesystem.pp
@@ -1,15 +1,15 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 class tweaks::filesystem {
     # Optimize EXT4 writeback performance on virtual machines only
-    if ($::is_virtual == true) {
+    if ($::virtual ~= /xen/) {
         case $::operatingsystem {
             CentOS, Ubuntu: {
                 sysctl::value {
                     'vm.dirty_writeback_centisecs':
                         value => 360000;
                     'vm.dirty_expire_centisecs':
                         value => 360000;
                     'vm.dirty_ratio':