]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ext4: split ext4_file_write into buffered IO and direct IO
authorZheng Liu <wenqing.lz@taobao.com>
Mon, 9 Jul 2012 20:29:29 +0000 (16:29 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 9 Jul 2012 20:29:29 +0000 (16:29 -0400)
commitfbe104942d3ff44f6802e8e4a3fbf267c1fb9ac4
tree1022097e97679f5fc13fdef5fd5893cdfdd35dcf
parent62a1391ddd6fbe82fc02154dc760bcc5cbc9ef68
ext4: split ext4_file_write into buffered IO and direct IO

ext4_file_dio_write is defined in order to split buffered IO and
direct IO in ext4.  This patch just refactor some stuff in write path.

CC: Tao Ma <tm@tao.ma>
CC: Eric Sandeen <sandeen@redhat.com>
CC: Robin Dong <hao.bigrat@gmail.com>
Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/file.c