aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/tdb.c
diff options
context:
space:
mode:
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>2005-11-12 17:51:14 +0100
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>2005-11-12 17:51:14 +0100
commit8fc503a014a2d7da1435bf0096b393f2394c0f41 (patch)
treeaa7331d1d1506c69e024bcc1f5de7478ee5d17d3 /tools/xenstore/tdb.c
parent6b9e8cc03bcac22574664e985001e95264666b9e (diff)
downloadxen-8fc503a014a2d7da1435bf0096b393f2394c0f41.tar.gz
xen-8fc503a014a2d7da1435bf0096b393f2394c0f41.tar.bz2
xen-8fc503a014a2d7da1435bf0096b393f2394c0f41.zip
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@xensource.com>
Diffstat (limited to 'tools/xenstore/tdb.c')
-rw-r--r--tools/xenstore/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstore/tdb.c b/tools/xenstore/tdb.c
index fdf3d5a837..7ebf37a941 100644
--- a/tools/xenstore/tdb.c
+++ b/tools/xenstore/tdb.c
@@ -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"