WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: Xen API <xen-api@xxxxxxxxxxxxxxxxxxx>, daniel.stodden@xxxxxxxxxx
Subject: [Xen-API] [PATCH] CA-38759: Unsync debian installation mountpoint
From: Daniel Stodden <dns@xxxxxxxxxxxx>
Date: Thu, 11 Mar 2010 12:19:07 -0000
Cc:
Delivery-date: Mon, 29 Mar 2010 12:43:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.3.1
# 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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] CA-38759: Unsync debian installation mountpoint, Daniel Stodden <=