Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Sami Farin <7atbggg02@...>
Cc: Nathan Scott <nathans@...>, David Chinner <dgc@...>, Nick Piggin <nickpiggin@...>, <linux-kernel@...>
Date: Saturday, January 6, 2007 - 5:11 pm

On Sat, 6 Jan 2007, Sami Farin wrote:


You rightly noted in a followup that there have been changes to
mincore, but I doubt they have any bearing on this: I think the
BUG just happened at the same time as your mincore.


So... XFS uses truncate_inode_pages when serving the write system call.
That's very inventive, and now it looks like Linus' cancel_dirty_page
and new warning have caught it out.  VM people expect it to be called
either when freeing an inode no longer in use, or when doing a truncate,
after ensuring that all pages mapped into userspace have been taken out.


Gosh.  Might be better to reproduce it on 2.6.20-rc3;
but I think we have to hand this over to some XFS people.

Hugh

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
BUG: warning at mm/truncate.c:60/cancel_dirty_page(), Sami Farin, (Fri Jan 5, 10:39 pm)
Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page(), Hugh Dickins, (Sat Jan 6, 5:11 pm)