[dbench @ tridge@samba.org-20070727060117-mjnjs3nd4ca15xbm]
[tridge/dbench.git] / dbench.c
index fbfa2a28f0fc56a8c76e446475c0916bf02aec70..d677555355f4a5216b7f5073e0e2b544f8f7ce61 100644 (file)
--- a/dbench.c
+++ b/dbench.c
@@ -386,6 +386,12 @@ static int process_opts(int argc, const char **argv)
                  "disable name resolution simulation", NULL },
                { "clients-per-process", 0, POPT_ARG_INT, &options.clients_per_process, 0, 
                  "number of clients per process", NULL },
+               { "one-byte-write-fix", 0, POPT_ARG_NONE, &options.one_byte_write_fix, 0, 
+                 "try to fix 1 byte writes", NULL },
+               { "stat-check", 0, POPT_ARG_NONE, &options.stat_check, 0, 
+                 "check for pointless calls with stat", NULL },
+               { "fake-io", 0, POPT_ARG_NONE, &options.fake_io, 0, 
+                 "fake up read/write calls", NULL },
                POPT_TABLEEND
        };
        poptContext pc;