]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use io_end for multiple bios
authorJan Kara <jack@suse.cz>
Fri, 12 Apr 2013 03:56:53 +0000 (23:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 12 Apr 2013 03:56:53 +0000 (23:56 -0400)
commita24b4e2412b501e92582d8ef31eca7bff205f4b4
tree2db2d3f0431d98ed83d7e7ad8fbeaca7d7a2dcc2
parent705815013a70c2d534417861492a6e0384c5234a
ext4: use io_end for multiple bios

Change writeback path to create just one io_end structure for the
extent to which we submit IO and share it among bios writing that
extent. This prevents needless splitting and joining of unwritten
extents when they cannot be submitted as a single bio.

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