Add a "native" target to run the kernel NFS server.
[bluesky.git] / microbench / mixedbench.c
index 07584e1..50dae27 100644 (file)
@@ -196,6 +196,7 @@ void reset_stats(int print, double duration)
         write_time2 += threads[i].write_time2;
         threads[i].read_count = threads[i].write_count = 0;
         threads[i].read_time = threads[i].write_time = 0;
+        threads[i].read_time2 = threads[i].write_time2 = 0;
         pthread_mutex_unlock(&threads[i].lock);
     }
 
@@ -225,7 +226,7 @@ int main(int argc, char *argv[])
     opt_duration = atoi(argv[5]);
     opt_ops = atof(argv[6]);
     opt_intervals = atoi(argv[7]);
-    opt_dirsize = atoi(argv[7]);
+    opt_dirsize = atoi(argv[8]);
 
     srandom(time(NULL));