]> mj.ucw.cz Git - libucw.git/commitdiff
Debug utilities have O_DIRECT hardcoded manually
authorMichal Vaner <vorner@ucw.cz>
Sun, 30 Nov 2008 14:55:22 +0000 (15:55 +0100)
committerMichal Vaner <vorner@ucw.cz>
Sun, 30 Nov 2008 14:55:22 +0000 (15:55 +0100)
debug/sorter/Makefile
debug/sorter/radix-asio-test.c

index bcfcea058f6226cf09d7bdf5b1250a91e6436bf1..1ef8c6205b7b53392e2a67d7e2cb2cef7440f3bb 100644 (file)
@@ -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)
index a108ed0ca6c9ccf0b7440698ab86c171f9b56b95..168f6ff6b4f0b982a3cb2ce434ee2c6bd5989aae 100644 (file)
 #include <unistd.h>
 
 #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;