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

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



# 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


 


Rackspace

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