]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commitb5f4048e490771dbde4167863ddd512e819248b2
treee0b440ef1cd8be1dd0a487580611aeb4dada2073
parentcfac990621ad703e201041a554073c2c52291cbb
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