f2fs: allocate data blocks in advance for f2fs_direct_IO
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 9 Feb 2015 20:09:53 +0000 (12:09 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 Feb 2015 01:04:49 +0000 (17:04 -0800)
commit59b802e5a453d413e7222d179be405cbadca3a8e
treeba2e0c886467cd3303f16add3afd9995d62e2376
parentf7ef9b83b583640111039b30e13263b71c3a6ed5
f2fs: allocate data blocks in advance for f2fs_direct_IO

This patch adds preallocation for data blocks to prepare f2fs_direct_IO.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c