Browse code

Merge "Disable fallocate and set max_file_size to default"

Jenkins authored on 2013/07/17 22:20:01
Showing 1 changed files
... ...
@@ -243,6 +243,9 @@ EOF
243 243
         iniuncomment ${swift_node_config} DEFAULT log_facility
244 244
         iniset ${swift_node_config} DEFAULT log_facility LOG_LOCAL${log_facility}
245 245
 
246
+        iniuncomment ${swift_node_config} DEFAULT disable_fallocate
247
+        iniset ${swift_node_config} DEFAULT disable_fallocate true
248
+
246 249
         iniuncomment ${swift_node_config} DEFAULT mount_check
247 250
         iniset ${swift_node_config} DEFAULT mount_check false
248 251
 
... ...
@@ -287,12 +290,6 @@ EOF
287 287
     iniset ${testfile} func_test account2 swifttenanttest2
288 288
     iniset ${testfile} func_test username2 swiftusertest2
289 289
 
290
-    # Set maximum file size to 10000 bytes or our vm will fill up quickly with
291
-    # the default 5gb size.
292
-    iniuncomment ${testfile} func_test max_file_size
293
-    iniset ${testfile} func_test max_file_size 10000
294
-
295
-
296 290
     if is_service_enabled key;then
297 291
         iniuncomment ${testfile} func_test auth_version
298 292
         iniset ${testfile} func_test auth_host ${KEYSTONE_SERVICE_HOST}