All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Mahoney <jeffm@suse.com>
To: Linas Vepstas <linas@austin.ibm.com>
Cc: reiserfs-dev@namesys.com, reiserfs-list@namesys.com
Subject: Re: BUG in submit_ordered_buffer at fs/reiserfs/journal.c:616!
Date: Wed, 13 Apr 2005 15:11:00 -0400	[thread overview]
Message-ID: <425D6EC4.3010204@suse.com> (raw)
In-Reply-To: <20050311224936.GK1220@austin.ibm.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Linas Vepstas wrote:
> 
> Hi,
> 
> I've been experimenting with automatic bus error recovery in the
> 2.6.11 kernel.  During one of my failed experiments, I tripped over
> a Reiserfs bug, below.  Basically, my error recovery failed, which
> means a SCSI disk went permanently offline, which, admitedly,
> is pretty catastrophic, but shouldn't be a kernel panic.  It seems
> that reiser hits a 'BUG_ON' in this case.
> 
> FWIW, in my limited experience with ext3 in the same exact situation, 
> it seems that ext3 handles this gracefully, returning -EIO to all 
> affected apps accessing the disk.
> 
> Unfortunately, I don't know how to tell you how to reproduce this :)

Hi Linas -

Finally getting a chance to look into this one a little bit more. What
were your test cases? I've seen this bug before, and in doing a quick
trace, it may be possible to hit this if you attempt to write to a file
with a hole and an I/O error occurs while flushing that buffer. When
map_block_for_writepage calls journal_end and it fails, it can still
call reiserfs_get_block for the hole even though the journal has been
aborted. If the buffer is !uptodate (due to the i/o error failure),
you'll hit that BUG.

I'll continue to track this one down, but any more info you can provide
on your test environment would be helpful.

Thanks.

- -Jeff

- --
Jeff Mahoney
SuSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCXW7ELPWxlyuTD7IRAh4jAJ4zB4eMUxoZjhnaOkoSDZ/yDHMtDACggkXi
y1ESZm40aGqJ0S2SfGLgBBQ=
=yYCv
-----END PGP SIGNATURE-----

      parent reply	other threads:[~2005-04-13 19:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-11 22:49 BUG in submit_ordered_buffer at fs/reiserfs/journal.c:616! Linas Vepstas
2005-03-11 23:39 ` Hans Reiser
2005-03-12  0:20   ` Jeff Mahoney
2005-03-14 19:50   ` Chris Mason
2005-04-13 19:11 ` Jeff Mahoney [this message]

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=425D6EC4.3010204@suse.com \
    --to=jeffm@suse.com \
    --cc=linas@austin.ibm.com \
    --cc=reiserfs-dev@namesys.com \
    --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.