Home
last modified time | relevance | path

Searched hist:"13 a79a4741d37fda2fbafb953f0f301dc007928f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dinode.cdiff 13a79a4741d37fda2fbafb953f0f301dc007928f Tue Dec 13 20:51:55 CST 2011 Yongqiang Yang <xiaoqiangnk@gmail.com> ext4: avoid potential hang in mpage_submit_io() when blocksize < pagesize

If there is an unwritten but clean buffer in a page and there is a
dirty buffer after the buffer, then mpage_submit_io does not write the
dirty buffer out. As a result, da_writepages loops forever.

This patch fixes the problem by checking dirty flag.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org