All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Tomlinson <tomlins@cam.org>
To: reiserfs-list@namesys.com
Cc: linux-kernel@vger.kernel.org
Subject: IDE DMA timeouts and reiserfs stability
Date: Wed, 9 May 2001 23:42:35 -0400	[thread overview]
Message-ID: <01050923423500.00777@oscar> (raw)

Hi,

I am using 2.4.5-pre1.  Over the course of the last two weeks I have had
DMA timeouts occur twice.  Both times corrupted my fs.  While this is not
ideal, its not unexpected as things stand now.  I have seen at least three 
other reports on lkml about errors of this type - suspect that 2.4's ide 
is a little fragile in some corner cases...

Contrary to normal practice, after an IO error and fsck is a very wise thing
to do.  Can we automate this process.  ie can reiserfs detect that it has
experienced IO error(s) and set fsck required bits (two bits) in the SB?  
It would also be nice to be able to manually set these bits.  This way a script 
could be triggered at boot (from initrd for those of us with reiserfs boot disks) 
to do something like this

reiserfsck -a 	this should check each FS an does a --check when the bits are set
		to 01.  It changes the SB bits as follows (logging to <dev>01.log)
		00 - fs is ok
		10 - fix-fixable run required (logging to <dev>10.log)
		11 - rebuild-tree required (logging to <dev>11.log)

		writing those logs could be a bit of a catch 22...
			
then the script would call reiserfsck -a again to do the work (if required) and
ask if its ok to do the fix-fixable or rebuild-tree

Think reiserfsck is getting good enough for this, and it would probably avoid 
many of the problem currently popping up on the list. 

Thoughts?

Ed Tomlinson <tomlins@cam.org>

PS. Chris, with the fix you supplied for LVM, snapshots work 100% of the time when
I put them on hda or hde and fail 100% on hdg...  





             reply	other threads:[~2001-05-10 13:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-10  3:42 Ed Tomlinson [this message]
2001-05-10 14:20 ` IDE DMA timeouts and reiserfs stability Alan Cox
2001-05-10 16:00 ` [reiserfs-list] " Chris Dukes

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=01050923423500.00777@oscar \
    --to=tomlins@cam.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reiserfs-list@namesys.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.