ext4: use ext4_da_writepages() for all modes
authorTheodore Ts'o <tytso@mit.edu>
Thu, 6 Jun 2013 18:00:46 +0000 (14:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Jun 2013 18:00:46 +0000 (14:00 -0400)
commit20970ba65d5a22f2e4efbfa100377722fde56935
treee0b440ef1cd8be1dd0a487580611aeb4dada2073
parentf4afb4f4e3e9af626ad695c87e4f9aaa780b29ec
ext4: use ext4_da_writepages() for all modes

Rename ext4_da_writepages() to ext4_writepages() and use it for all
modes.  We still need to iterate over all the pages in the case of
data=journalling, but in the case of nodelalloc/data=ordered (which is
what file systems mounted using ext3 backwards compatibility will use)
this will allow us to use a much more efficient I/O submission path.

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