]> git.baikalelectronics.ru Git - kernel.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)
commitae534484819669038a46697142c4fcd86135f20e
treeefd1ca776e184101cb20ba4606bc35103385bcb5
parent90c10de0b684d68d45c6b9e803748ee87915c4ac
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