| To: | David Chinner <dgc@xxxxxxx> |
|---|---|
| Subject: | Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page() |
| From: | Andrew Morton <akpm@xxxxxxxx> |
| Date: | Sun, 7 Jan 2007 14:48:12 -0800 |
| Cc: | Hugh Dickins <hugh@xxxxxxxxxxx>, Sami Farin <7atbggg02@xxxxxxxxxxxxxx>, Nathan Scott <nathans@xxxxxxx>, xfs@xxxxxxxxxxx, Nick Piggin <nickpiggin@xxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx |
| In-reply-to: | <20070107222341.GT33919298@melbourne.sgi.com> |
| References: | <20070106023907.GA7766@m.safari.iki.fi> <Pine.LNX.4.64.0701062051570.24997@blonde.wat.veritas.com> <20070107222341.GT33919298@melbourne.sgi.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
On Mon, 8 Jan 2007 09:23:41 +1100 David Chinner <dgc@xxxxxxx> 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. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page(), David Chinner |
|---|---|
| Next by Date: | Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page(), David Chinner |
| Previous by Thread: | Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page(), David Chinner |
| Next by Thread: | Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page(), David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |