From: Andrew Morton <akpm@osdl.org>
To: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Zach Brown <zach.brown@oracle.com>,
ext4 <linux-ext4@vger.kernel.org>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.19-rc2-mm1 warning in invalidate_inode_pages2_range()
Date: Thu, 19 Oct 2006 16:02:25 -0700 [thread overview]
Message-ID: <20061019160225.fee4c25f.akpm@osdl.org> (raw)
In-Reply-To: <1161297546.26843.33.camel@dyn9047017100.beaverton.ibm.com>
On Thu, 19 Oct 2006 15:39:06 -0700
Badari Pulavarty <pbadari@us.ibm.com> wrote:
> Hi Zach,
>
> While running IO tests I get following messages on 2.6.19-rc2-mm1
>
> BUG: warning at mm/truncate.c:400/invalidate_inode_pages2_range()
>
> Call Trace:
> [<ffffffff8020b481>] show_trace+0x41/0x70
> [<ffffffff8020b4c2>] dump_stack+0x12/0x20
> [<ffffffff80257f17>] invalidate_inode_pages2_range+0x297/0x2e0
> [<ffffffff8024fcb5>] generic_file_direct_IO+0xf5/0x130
> [<ffffffff8024fd64>] generic_file_direct_write+0x74/0x140
> [<ffffffff802507cc>] __generic_file_aio_write_nolock+0x36c/0x4b0
> [<ffffffff80250977>] generic_file_aio_write+0x67/0xd0
> [<ffffffff8808f6d3>] :ext4dev:ext4_file_write+0x23/0xc0
> DWARF2 unwinder stuck at ext4_file_write+0x23/0xc0 [ext4dev]
> Leftover inexact backtrace:
> [<ffffffff8027379f>] do_sync_write+0xcf/0x120
> [<ffffffff802772b7>] cp_new_stat+0xe7/0x100
> [<ffffffff8023db90>] autoremove_wake_function+0x0/0x30
> [<ffffffff804805bf>] __mutex_lock_slowpath+0x1df/0x1f0
> [<ffffffff8027408d>] vfs_write+0xbd/0x180
> [<ffffffff802747b3>] sys_write+0x53/0x90
> [<ffffffff80209c1e>] system_call+0x7e/0x83
>
that's warning that we weren't able to invalidate some pagecache. That's
not really suprising. Perhaps we should be more careful in deciding when
to fail the call (ie: leaving behind a clean page is ok, leaving behind a
dirty page is bad).
Probably it's leaving behind dirty pagecache and you're about to lose your
data. Which I bet is your own darn fault for doing silly things.
What workload was in use?
next prev parent reply other threads:[~2006-10-19 23:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-19 22:39 2.6.19-rc2-mm1 warning in invalidate_inode_pages2_range() Badari Pulavarty
2006-10-19 23:02 ` Andrew Morton [this message]
2006-10-19 23:12 ` Badari Pulavarty
2006-10-20 10:14 ` Andy Whitcroft
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=20061019160225.fee4c25f.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbadari@us.ibm.com \
--cc=zach.brown@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox