$NetBSD: patch-ac,v 1.1 2006/10/15 12:53:04 xtraeme Exp $ --- src/blogbench.c.orig 2006-10-15 13:09:33.000000000 +0200 +++ src/blogbench.c 2006-10-15 13:10:39.000000000 +0200 @@ -19,6 +19,7 @@ "--rewriters= (-W ): number of rewriters\n" "--sleep= (-s ): delay after every iteration\n" "--writers= (-w ): number of writers\n" + "--directio (-o): enable Direct I/O\n" "\n" "Sample usage:\n" "\n" @@ -56,6 +57,9 @@ case 'i': stats_iterations = (unsigned int) strtoul(optarg, NULL, 10); break; + case 'o': + do_directio = 1; + break; case 'r': nb_readers = (unsigned int) strtoul(optarg, NULL, 10); break;