[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090223021635.GM17066@mit.edu>
Date: Sun, 22 Feb 2009 21:16:35 -0500
From: Theodore Tso <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] ext4: Fix deadlock in ext4_write_begin() and
ext4_da_write_begin()
On Thu, Feb 19, 2009 at 03:24:48PM +0100, Jan Kara wrote:
> Functions ext4_write_begin() and ext4_da_write_begin() call
> grab_cache_page_write_begin() without AOP_FLAG_NOFS. Thus it
> can happen that page reclaim is triggered in that function
> and it recurses back into the filesystem (or some other filesystem).
> But this can lead to various problems as a transaction is already
> started at that point. Add the necessary flag.
>
> (Reported in http://bugzilla.kernel.org/show_bug.cgi?id=11688)
>
> Signed-off-by: Jan Kara <jack@...e.cz>
Thanks, queued.
Signed-off-by: "Theodore Ts'o" <tytso@....edu>
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists