From: Mark Fasheh <mark.fasheh@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] Bug in error handling
Date: Tue Mar 9 15:13:14 2004 [thread overview]
Message-ID: <20040309211310.GC19927@ca-server1.us.oracle.com> (raw)
In-Reply-To: <404E0F78.4020206@intel.com>
At what point did you first see the error? Was it a 1st mount of a fresh
file system or just a normal mount? I assume the file system failed to mount
because of this error... Can you be more specific as to what Bad Things (TM)
were happening? :) Did it crash or what?
--Mark
On Tue, Mar 09, 2004 at 10:39:52AM -0800, John L. Villalovos wrote:
> 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);
> }
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-devel
--
Mark Fasheh
Software Developer, Oracle Corp
mark.fasheh@oracle.com
next prev parent reply other threads:[~2004-03-09 15:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-09 12:40 [Ocfs2-devel] Bug in error handling John L. Villalovos
2004-03-09 15:13 ` Mark Fasheh [this message]
-- 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=20040309211310.GC19927@ca-server1.us.oracle.com \
--to=mark.fasheh@oracle.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.