diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2006-10-15 12:53:04 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2006-10-15 12:53:04 +0000 |
commit | 8ed9453827d2758ecd94a4313bbb8517b357ae50 (patch) | |
tree | 76c6de88ef9f8e1f37914d82eb6e88f39a62542a /benchmarks/blogbench/patches/patch-ab | |
parent | e699772b4c76c9610fccd3683c29aec70d852d6d (diff) | |
download | pkgsrc-8ed9453827d2758ecd94a4313bbb8517b357ae50.tar.gz |
Add patches to support a new flag:
--directio or -o (if enabled uses O_DIRECT in open(2)).
Useful to test performance of Direct I/O implementation on NetBSD.
Bump PKGREVISION.
Diffstat (limited to 'benchmarks/blogbench/patches/patch-ab')
-rw-r--r-- | benchmarks/blogbench/patches/patch-ab | 21 |
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 } + }; + |