Re: mapped pages being truncated [was Re: 2.6.5-rc2-aa5]

From: Hugh Dickins
Date: Tue Mar 30 2004 - 14:08:52 EST

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).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at