Re: mapped pages being truncated [was Re: 2.6.5-rc2-aa5]
From: Andrea Arcangeli
Date: Tue Mar 30 2004 - 14:15:44 EST
On Tue, Mar 30, 2004 at 08:06:42PM +0100, Hugh Dickins wrote:
> On Tue, 30 Mar 2004, Andrea Arcangeli wrote:
> > On Tue, Mar 30, 2004 at 07:48:42PM +0100, Hugh Dickins wrote:
> > >
> > > Do you have enough evidence that it's the very same bug?
> > yes, see the two stack traces, they trigger in the same place and it's
> > the very same workload. Andrew just noticed that xfs indeed calls
> > truncate_inode_pages before vmtruncate. It will trigger with your
> > patches too.
> Yes, Andrew has got it (and I agree XFS is wrong to be doing that).
> > Ok I see what you mean, this should fix it, agreed?
> Yes, that's exactly the fix (for when COWing a reserved page).
thanks, great spotting!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/