From: John L. Villalovos <john.l.villalovos@intel.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] Bug in error handling
Date: Tue Mar 9 12:40:10 2004 [thread overview]
Message-ID: <404E0F78.4020206@intel.com> (raw)
I have encountered on my system a bug when OCFS2 tries to do a journal_wipe.
At the time that it does the call it gets back an error of -22.
The problem is that it seems to leave stuff in an inconsistent state when it exits out of the functions that have called it. So later on bad things happen :(
This diff simulates the error that I received. I am trying to figure out what is the stuff that has been partially initialized when this gets called but I am having a bit of difficulty and tracking it all down :(
John
Index: journal.c
===================================================================
--- journal.c (revision 766)
+++ journal.c (working copy)
@@ -1261,8 +1261,11 @@
if (!journal)
BUG();
- status = journal_wipe(journal->k_journal, full);
+// FIXME: Simulate BUG
+// status = journal_wipe(journal->k_journal, full);
+ status = -22;
+
LOG_EXIT_STATUS(status);
return(status);
}
next reply other threads:[~2004-03-09 12:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-09 12:40 John L. Villalovos [this message]
2004-03-09 15:13 ` [Ocfs2-devel] Bug in error handling Mark Fasheh
-- strict thread matches above, loose matches on Subject: below --
2004-03-09 15:18 Villalovos, John L
2004-03-09 15:43 ` Mark Fasheh
2004-03-09 17:00 ` Mark Fasheh
2004-03-09 19:14 Villalovos, John L
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=404E0F78.4020206@intel.com \
--to=john.l.villalovos@intel.com \
--cc=ocfs2-devel@oss.oracle.com \
/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.