From: Christoph Hellwig <hch@infradead.org>
To: fstests@vger.kernel.org
Subject: [PATCH] fsx: increase number of logged operations
Date: Fri, 26 Sep 2014 06:04:30 -0700 [thread overview]
Message-ID: <20140926130430.GA9240@infradead.org> (raw)
1000 operations is 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>
diff --git a/ltp/fsx.c b/ltp/fsx.c
index 47d3ee8..3709419 100644
--- 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 */
next reply other threads:[~2014-09-26 13:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-26 13:04 Christoph Hellwig [this message]
2014-09-26 14:22 ` [PATCH] fsx: increase number of logged operations Theodore Ts'o
2014-09-26 15:43 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140926130430.GA9240@infradead.org \
--to=hch@infradead.org \
--cc=fstests@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.