From: Jeff Mahoney <jeffm@suse.com>
To: Xuan Baldauf <xuan--2004.05.21--reiserfs-list--namesys.com@baldauf.org>
Cc: reiserfs-list@namesys.com
Subject: Re: bug report?
Date: Fri, 21 May 2004 15:11:09 -0400 [thread overview]
Message-ID: <40AE544D.40503@suse.com> (raw)
In-Reply-To: <40AE4D4B.80803@baldauf.org>
Xuan Baldauf wrote:
> Hello,
>
> I just want to report what happens if a ide controller (or cabling
> thereof) gets mad. The reiserfs filesystem was not unmountable after
> that event. Maybe reiserfs should not panic in such an event? (It could
> keep buffers dirty and allow unclean unmounts so that the gone
> filesystem could be unlinked from the VFS)
This happens if any I/O failure occurs while accessing the journal.
I have patches that allow the filesystem to abort if an I/O failure in
the journal occurs. The result is that the filesystem is forced
read-only, processes waiting to start a transaction will be refused, and
existing transactions will be allowed to complete, but not commit.
Appropriate error codes are returned to the user.
Once the normal conditions for umounting a filesystem are met (no open
files, etc), it can be umounted normally. The resulting filesystem will
be identical do what would happen if the machine were simply unplugged
at the point of the abort. Committed transactions in the journal will be
replayed on remount, and life goes on. Obviously, additional action as
appropriate to the cause of the error may be required.
Chris Mason is in the process of sending these to akpm for inclusion in
-mm, and ultimately in mainline. There were a number of dependencies
that these patches required, which have been in the process of being
accepted. Now that the dependencies are met, these patches can be submitted.
-Jeff
--
Jeff Mahoney
SuSE Labs
next prev parent reply other threads:[~2004-05-21 19:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-21 18:41 bug report? Xuan Baldauf
2004-05-21 19:11 ` Jeff Mahoney [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-05-19 6:25 bug report?! Timo.Bolse
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
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=40AE544D.40503@suse.com \
--to=jeffm@suse.com \
--cc=reiserfs-list@namesys.com \
--cc=xuan--2004.05.21--reiserfs-list--namesys.com@baldauf.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.