summaryrefslogtreecommitdiff
path: root/fs/ext4/ext4_extents.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-11-16 08:08:57 +0400
committerTheodore Ts'o <tytso@mit.edu>2012-11-16 08:08:57 +0400
commitf3b59291a69d0b734be1fc8be489fef2dd846d3d (patch)
tree496fc7b7ce6ae9375340d9994a0fbaf522e08890 /fs/ext4/ext4_extents.h
parent66bea92c69477a75a5d37b9bfed5773c92a3c4b4 (diff)
downloadlinux-f3b59291a69d0b734be1fc8be489fef2dd846d3d.tar.xz
ext4: remove calls to ext4_jbd2_file_inode() from delalloc write path
The calls to ext4_jbd2_file_inode() are needed to guarantee that we do not expose stale data in the data=ordered mode. However, they are not necessary because in all of the cases where we have newly allocated blocks in the delayed allocation write path, we immediately submit the dirty pages for I/O. Hence, we can avoid the overhead of adding the inode to the list of inodes whose data pages will be to be flushed out to disk completely during the next commit operation. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_extents.h')
0 files changed, 0 insertions, 0 deletions