Re: [PATCH] ext4: Fix deadlock in ext4_write_begin() and ext4_da_write_begin()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>

Thanks, queued.

Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux