Commit f11a9c21 authored by Philip Carns's avatar Philip Carns
Browse files

missing O_DIRECT flag in benchmark

parent 3d1dfbf9
......@@ -175,7 +175,7 @@ static void abt_bench(int buffer_per_thread, unsigned int concurrency, size_t si
void *buffer;
double start;
fd = open(filename, O_WRONLY|O_CREAT|O_SYNC, S_IWUSR|S_IRUSR);
fd = open(filename, O_WRONLY|O_CREAT|O_SYNC|O_DIRECT, S_IWUSR|S_IRUSR);
if(!fd)
{
perror("open");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment