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-changelog

[Xen-changelog] Disable use of mmap. This allows Xenstored to run with a

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Disable use of mmap. This allows Xenstored to run with an NFS-mounted
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Nov 2005 18:58:09 +0000
Delivery-date: Mon, 14 Nov 2005 18:58:31 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID fa237e03d3e7cea83d28e1c59b57fe5a349f26a2
# Parent  776ef2fb6fd8a56a13f626c7ffc0c7bc5fd16709
Disable use of mmap.  This allows Xenstored to run with an NFS-mounted
/var/lib/xenstored.  Closes bug #400.  This fix no doubt has a performance hit,
so I have opened bug #401 to discuss a better fix.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 776ef2fb6fd8 -r fa237e03d3e7 tools/xenstore/tdb.c
--- a/tools/xenstore/tdb.c      Fri Nov 11 20:59:33 2005
+++ b/tools/xenstore/tdb.c      Sat Nov 12 16:51:14 2005
@@ -45,7 +45,7 @@
 #include "tdb.h"
 #include <stdarg.h>
 #include "talloc.h"
-#define HAVE_MMAP
+#undef HAVE_MMAP
 #else
 #include "includes.h"
 #include "lib/tdb/include/tdb.h"

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Disable use of mmap. This allows Xenstored to run with an NFS-mounted, Xen patchbot -unstable <=