]> git.baikalelectronics.ru Git - kernel.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)
commit1bf2422f9cfd710c466f064bcc7d2e7e83379887
treee0b440ef1cd8be1dd0a487580611aeb4dada2073
parente4bc2c491182d8aa0547540a6877dcf49bfac749
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