fsx: increase number of logged operations
authorChristoph Hellwig <hch@infradead.org>
Mon, 29 Sep 2014 03:11:05 +0000 (13:11 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Sep 2014 03:11:05 +0000 (13:11 +1000)
1000 operations is not nearly enough to debug complex data integrity
issues, so increase the log buffer by an order of magnitude.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Dave Chinner <david@fromorbit.com>
ltp/fsx.c

index 47d3ee8d45556f8d3c11d64932a3da0994deac1b..3709419b197deb69900d09c57f2ff4eec20b4b12 100644 (file)
--- a/ltp/fsx.c
+++ b/ltp/fsx.c
@@ -49,7 +49,7 @@ struct log_entry {
        int     args[3];
 };
 
-#define        LOGSIZE 1000
+#define        LOGSIZE 10000
 
 struct log_entry       oplog[LOGSIZE]; /* the log */
 int                    logptr = 0;     /* current position in log */