From: Michal Vaner Date: Sun, 30 Nov 2008 14:55:22 +0000 (+0100) Subject: Debug utilities have O_DIRECT hardcoded manually X-Git-Tag: holmes-import~129 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=8c3f25771e535551da610592cebe48a22729d86f;p=libucw.git Debug utilities have O_DIRECT hardcoded manually --- diff --git a/debug/sorter/Makefile b/debug/sorter/Makefile index bcfcea05..1ef8c620 100644 --- a/debug/sorter/Makefile +++ b/debug/sorter/Makefile @@ -1,7 +1,7 @@ # Tests related to the new sorter DIRS+=debug/sorter -PROGS+=$(addprefix $(o)/debug/sorter/,radix-file-test radix-asio-test radix-tune-bits radix-tune-thresh) +PROGS+=$(addprefix $(o)/debug/sorter/,radix-tune-bits radix-tune-thresh) $(o)/debug/sorter/retros: $(o)/debug/sorter/retros.o $(LIBSH) $(o)/debug/sorter/radix-file-test: $(o)/debug/sorter/radix-file-test.o $(LIBSH) diff --git a/debug/sorter/radix-asio-test.c b/debug/sorter/radix-asio-test.c index a108ed0c..168f6ff6 100644 --- a/debug/sorter/radix-asio-test.c +++ b/debug/sorter/radix-asio-test.c @@ -16,11 +16,7 @@ #include #define COPY -#ifdef O_DIRECT #define DIRECT O_DIRECT -#else -#define DIRECT 0 // Direct IO not supported, fallback to normal mode -#endif static timestamp_t timer;