Re: BUG: Bad page state in process (current git)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hugh Dickins
Date: Monday, November 15, 2010 - 2:23 pm

On Mon, Nov 15, 2010 at 11:54 AM, Markus Trippelsdorf
<markus@trippelsdorf.de> wrote:

I do think you're right: every one of your "Bad page state" reports
has been complaining only about the PageUptodate bit being set, and
that SetPageUpdate() in ext4_end_bio() does look suspicious, coming
after the put_page().

The more suspicious given that other races have been noticed in
precisely that area, and fixed with put_io_page() in the current git
tree.

Perhaps that fixes your problem, but my guess would be not: I suspect
the "if (!partial_write) SetPageUpdate(page);" should be done before
the block (or put_io_page) which does the put_page().

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

Messages in current thread:
BUG: Bad page state in process (current git), Markus Trippelsdorf, (Wed Nov 10, 8:25 am)
Re: BUG: Bad page state in process (current git), Markus Trippelsdorf, (Wed Nov 10, 8:40 am)
Re: BUG: Bad page state in process (current git), Christoph Lameter, (Wed Nov 10, 2:46 pm)
Re: BUG: Bad page state in process (current git), Markus Trippelsdorf, (Fri Nov 12, 5:20 am)
Re: BUG: Bad page state in process (current git), Markus Trippelsdorf, (Mon Nov 15, 5:38 am)
Re: BUG: Bad page state in process (current git), Markus Trippelsdorf, (Mon Nov 15, 12:54 pm)
Re: BUG: Bad page state in process (current git), Hugh Dickins, (Mon Nov 15, 2:23 pm)
[PATCH] ext4 Fix setting random pages PageUptodate, Markus Trippelsdorf, (Tue Nov 16, 4:13 am)