[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH] CA-38759: Unsync debian installation mountpoint



# HG changeset patch
# User Daniel Stodden <dns@xxxxxxxxxxxx>
# 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 <dns@xxxxxxxxxxxx>
# 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
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.