direct-io.hg
changeset 7777:fa237e03d3e7
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>
/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>
author | emellor@leeni.uk.xensource.com |
---|---|
date | Sat Nov 12 17:51:14 2005 +0100 (2005-11-12) |
parents | 776ef2fb6fd8 |
children | a06405d12a10 |
files | tools/xenstore/tdb.c |
line diff
1.1 --- a/tools/xenstore/tdb.c Fri Nov 11 21:59:33 2005 +0100 1.2 +++ b/tools/xenstore/tdb.c Sat Nov 12 17:51:14 2005 +0100 1.3 @@ -45,7 +45,7 @@ 1.4 #include "tdb.h" 1.5 #include <stdarg.h> 1.6 #include "talloc.h" 1.7 -#define HAVE_MMAP 1.8 +#undef HAVE_MMAP 1.9 #else 1.10 #include "includes.h" 1.11 #include "lib/tdb/include/tdb.h"