summaryrefslogtreecommitdiff
path: root/benchmarks/blogbench/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/blogbench/patches/patch-ab')
-rw-r--r--benchmarks/blogbench/patches/patch-ab21
1 files changed, 21 insertions, 0 deletions
diff --git a/benchmarks/blogbench/patches/patch-ab b/benchmarks/blogbench/patches/patch-ab
new file mode 100644
index 00000000000..9a60f510634
--- /dev/null
+++ b/benchmarks/blogbench/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1 2006/10/15 12:53:04 xtraeme Exp $
+
+--- src/blogbench_p.h.orig 2006-10-15 13:08:03.000000000 +0200
++++ src/blogbench_p.h 2006-10-15 13:08:32.000000000 +0200
+@@ -1,7 +1,7 @@
+ #ifndef __BLOGBENCH_P_H__
+ #define __BLOGBENCH_P_H__ 1
+
+-static const char *GETOPT_OPTIONS = "c:d:hi:r:W:s:w:";
++static const char *GETOPT_OPTIONS = "c:d:hi:or:W:s:w:";
+
+ static struct option long_options[] = {
+ { "commenters", 1, NULL, 'c' },
+@@ -12,6 +12,7 @@
+ { "rewriters", 0, NULL, 'W' },
+ { "sleep", 1, NULL, 's' },
+ { "writers", 1, NULL, 'w' },
++ { "directio", 0, NULL, 'o' },
+ { NULL, 0, NULL, 0 }
+ };
+