diff options
author | 2011-12-13 21:51:55 -0500 | |
---|---|---|
committer | 2011-12-13 21:51:55 -0500 | |
commit | 13a79a4741d37fda2fbafb953f0f301dc007928f (patch) | |
tree | b88b5b99690738c278c48b180cbd1ab2821522f6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: avoid hangs in ext4_da_should_update_i_disksize() (diff) | |
download | linux-dev-13a79a4741d37fda2fbafb953f0f301dc007928f.tar.xz linux-dev-13a79a4741d37fda2fbafb953f0f301dc007928f.zip |
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions