ext4: clear buffer_uninit flag when submitting IO
authorJan Kara <jack@suse.cz>
Fri, 12 Apr 2013 04:03:19 +0000 (00:03 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 12 Apr 2013 04:03:19 +0000 (00:03 -0400)
commit7b001d6a0c0c7b92e989c2c3b1d8e151f1df1acc
treecc23de7c97919ecdf8e7d6b14b00a345f30d1bfb
parent4eec708d263f0ee10861d69251708a225b64cac7
ext4: clear buffer_uninit flag when submitting IO

Currently noone cleared buffer_uninit flag. This results in writeback
needlessly marking io_end as needing extent conversion scanning extent
tree for extents to convert. So clear the buffer_uninit flag once the
buffer is submitted for IO and the flag is transformed into
EXT4_IO_END_UNWRITTEN flag.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
fs/ext4/page-io.c