From: Andrew Morton <akpm@osdl.org>
To: Jan Kara <jack@suse.cz>
Cc: mjt@tls.msk.ru, linux-kernel@vger.kernel.org
Subject: Re: Another Assertion failure in journal_start()
Date: Thu, 2 Feb 2006 00:07:05 -0800 [thread overview]
Message-ID: <20060202000705.481421b6.akpm@osdl.org> (raw)
In-Reply-To: <20060201185247.GK6547@atrey.karlin.mff.cuni.cz>
Jan Kara <jack@suse.cz> wrote:
>
> > Just hit our main server, while doing kernel compile
> > (producing a .deb using custom script which does quite
> > some usage of symlinks - hence sys_symlink() operation
> > is in call trace) -- that particular filesystem stopped
> > working, while the rest of the system was still operational.
> >
> > It's 2.6.15.1 kernel running on an athlon-1.3GHz, pretty
> > old but pretty stable box, with ECC memory. The filesystem
> > in question is on top of a raid0 array out of 4 scsi drives
> > (it's used as a "staging area" for various temporary stuff,
> > incl. compiles and whatnot).
> >
> > Any clues about this one?
> >
> > Note it's the first time I encountered an error like this
> > one, but I did quite alot of kernel compiles on this box
> > already since last boot (I'm experimenting with Xen on
> > another box, this box is used as a "compiling server").
> > So I can hardly say the problem is "easily reproduceable".
> The trace you provided is good enough so that I don't need to
> reproduce the problem :). The bug is in ext3 - the problem is that we
> start a transaction and then do something that needs to allocate memory
> but we don't set GFP_NOFS. As we are low on memory we try to shrink
> caches and remove some inode on different filesystem from memory. We
> recurse back into the fs code which finds out we have already started
> transaction on different fs and BUGs.
> The right solution probably is to pass gfp flags to page_symlink().
> I'll write a patch.
That'd be the safest approach. It'd be nicer to close off the transaction
while running page_symlink(), although we'd need to think hard about the
atomicity implications of that.
next prev parent reply other threads:[~2006-02-02 8:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-31 11:05 Another Assertion failure in journal_start() Michael Tokarev
2006-02-01 18:52 ` Jan Kara
2006-02-02 8:07 ` Andrew Morton [this message]
2006-02-02 12:06 ` Jan Kara
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=20060202000705.481421b6.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=jack@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mjt@tls.msk.ru \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox