https://github.com/torvalds/linux
Revision 13a79a4741d37fda2fbafb953f0f301dc007928f authored by Yongqiang Yang on 14 December 2011, 02:51:55 UTC, committed by Theodore Ts'o on 14 December 2011, 02:51:55 UTC
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
1 parent ea51d13
History
Tip revision: 13a79a4741d37fda2fbafb953f0f301dc007928f authored by Yongqiang Yang on 14 December 2011, 02:51:55 UTC
ext4: avoid potential hang in mpage_submit_io() when blocksize < pagesize
Tip revision: 13a79a4
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 201.4 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top