From 8c3f25771e535551da610592cebe48a22729d86f Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Sun, 30 Nov 2008 15:55:22 +0100 Subject: [PATCH] Debug utilities have O_DIRECT hardcoded manually --- debug/sorter/Makefile | 2 +- debug/sorter/radix-asio-test.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) 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; -- 2.39.2