]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: preallocate blocks for encrypted file
authorYunlei He <heyunlei@huawei.com>
Sun, 18 Sep 2016 00:16:56 +0000 (08:16 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 22 Sep 2016 18:43:08 +0000 (11:43 -0700)
commit36545af672460fea18ac3a6083dbf0c64c95656a
tree70e7c5105a9791897f2ba94e0e2264130405df02
parenta846bc97c4322a4d0a0f8ace5f8ca8e2e7b8aeeb
f2fs: preallocate blocks for encrypted file

This patch allow preallocates data blocks for buffered aio writes
in encrypted file.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
[Jaegeuk Kim: fix to avoid BUG_ON]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/segment.c