public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: David Chinner <dgc@sgi.com>
Cc: Hugh Dickins <hugh@veritas.com>,
	Sami Farin <7atbggg02@sneakemail.com>,
	Nathan Scott <nathans@sgi.com>,
	xfs@oss.sgi.com, Nick Piggin <nickpiggin@yahoo.com.au>,
	linux-kernel@vger.kernel.org
Subject: Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()
Date: Sun, 7 Jan 2007 14:48:12 -0800	[thread overview]
Message-ID: <20070107144812.96357ff9.akpm@osdl.org> (raw)
In-Reply-To: <20070107222341.GT33919298@melbourne.sgi.com>

On Mon, 8 Jan 2007 09:23:41 +1100
David Chinner <dgc@sgi.com> wrote:

> How are you supposed to invalidate a range of pages in a mapping for
> this case, then? invalidate_mapping_pages() would appear to be the
> candidate (the generic code uses this), but it _skips_ pages that
> are already mapped.

unmap_mapping_range()?

> So, am I correct in assuming we should be calling invalidate_inode_pages2_range()
> instead of truncate_inode_pages()?

That would be conventional.

  reply	other threads:[~2007-01-07 22:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070106023907.GA7766@m.safari.iki.fi>
     [not found] ` <Pine.LNX.4.64.0701062051570.24997@blonde.wat.veritas.com>
2007-01-07 22:23   ` BUG: warning at mm/truncate.c:60/cancel_dirty_page() David Chinner
2007-01-07 22:48     ` Andrew Morton [this message]
2007-01-07 23:04       ` David Chinner
2007-01-08 11:58         ` Sami Farin

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=20070107144812.96357ff9.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=7atbggg02@sneakemail.com \
    --cc=dgc@sgi.com \
    --cc=hugh@veritas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathans@sgi.com \
    --cc=nickpiggin@yahoo.com.au \
    --cc=xfs@oss.sgi.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