Skip to contentSkip to conversation

fsx: increase number of logged operations

PATCH In review Christoph Hellwig 2 participants 3 messages Sep 26, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fsx: increase number of logged operations

1000 operations is nearly enough to debug complex data integrity issues, so increase the log buffer by an order of magnitude.

ltp/fsx.c +1 -1
index 47d3ee8..3709419 100644
@@ -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 */
#2 lore raw
Quoted 5 lines · Theodore Ts'o
Quoted 1 line · Christoph Hellwig

1000 operations is nearly enough to debug complex data integrity

                 ^^^^^

is not nearly enough?

Yes, obviously..