# HG changeset patch
# User Daniel Stodden <[email protected]>
# Date 1268309853 0
# Node ID c04636f12fccb27a749700b35c937eb930530b31
# Parent  44290c66fec9040b6072c4e3b06c9351b3befe41
CA-38759: Unsync debian installation mountpoint.

Making the FS mount synchronous (CA-38567) seems to cause intolerable
slowdown on some systems. May relate to the ext3 berrier mode, but
this hasn't been verified. Revert for now.

diff -r 44290c66fec9 -r c04636f12fcc scripts/templates/debian
--- a/scripts/templates/debian  Thu Feb 25 17:11:36 2010 +0000
+++ b/scripts/templates/debian  Thu Mar 11 12:17:33 2010 +0000
@@ -114,7 +114,7 @@
     run("/bin/mkdir -p %s", mountpoint)
     try:
         try:
-            run("/bin/mount -osync %s1 %s", xvda, mountpoint)
+            run("/bin/mount %s1 %s", xvda, mountpoint)
             run("/usr/bin/unzip -p %s root.tar.bz2 | tar -C %s -jx", xgt, 
mountpoint)
         finally:
             run("/bin/umount %s", mountpoint)
# HG changeset patch
# User Daniel Stodden <[email protected]>
# Date 1268309853 0
# Node ID c04636f12fccb27a749700b35c937eb930530b31
# Parent  44290c66fec9040b6072c4e3b06c9351b3befe41
CA-38759: Unsync debian installation mountpoint.

Making the FS mount synchronous (CA-38567) seems to cause intolerable
slowdown on some systems. May relate to the ext3 berrier mode, but
this hasn't been verified. Revert for now.

diff -r 44290c66fec9 -r c04636f12fcc scripts/templates/debian
--- a/scripts/templates/debian	Thu Feb 25 17:11:36 2010 +0000
+++ b/scripts/templates/debian	Thu Mar 11 12:17:33 2010 +0000
@@ -114,7 +114,7 @@
     run("/bin/mkdir -p %s", mountpoint)
     try:
         try:
-            run("/bin/mount -osync %s1 %s", xvda, mountpoint)
+            run("/bin/mount %s1 %s", xvda, mountpoint)
             run("/usr/bin/unzip -p %s root.tar.bz2 | tar -C %s -jx", xgt, mountpoint)
         finally:
             run("/bin/umount %s", mountpoint)
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to