Re: [PATCH] ext3: ext3_symlink should use GFP_NOFS allocationsinside

From: Andrew Morton
Date: Fri Mar 10 2006 - 15:21:54 EST


Michael Tokarev <mjt@xxxxxxxxxx> wrote:
>
> Kirill Korotaev wrote:
> > This patch fixes illegal __GFP_FS allocation inside ext3
> > transaction in ext3_symlink().
> > Such allocation may re-enter ext3 code from
> > try_to_free_pages. But JBD/ext3 code keeps a pointer to current
> > journal handle in task_struct and, hence, is not reentrable.
> >
> > This bug led to "Assertion failure in journal_dirty_metadata()" messages.
> >
> > http://bugzilla.openvz.org/show_bug.cgi?id=115
>
> Is it the same bug as http://marc.theaimsgroup.com/?t=113870577100003&r=1&w=2 ?
>

yes.
-
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/