]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ext4: call mpage_da_submit_io() from mpage_da_map_blocks()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:09 +0000 (21:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:09 +0000 (21:30 -0400)
commit5a87b7a5da250c9be6d757758425dfeaf8ed3179
treeefd1ca776e184101cb20ba4606bc35103385bcb5
parent16828088f9e518158edecb6cde7e6fa38e4c889b
ext4: call mpage_da_submit_io() from mpage_da_map_blocks()

Eventually we need to completely reorganize the ext4 writepage
callpath, but for now, we simplify things a little by calling
mpage_da_submit_io() from mpage_da_map_blocks(), since all of the
places where we call mpage_da_map_blocks() it is followed up by a call
to mpage_da_submit_io().

We're also a wee bit better with respect to error handling, but there
are still a number of issues where it's not clear what the right thing
is to do with ext4 functions deep in the writeback codepath fails.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c