f2fs: allow dio read for LFS mode
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 11 Nov 2016 20:08:22 +0000 (12:08 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 25 Nov 2016 18:15:12 +0000 (10:15 -0800)
commite57e9ae5b179a6b243c42bf6d9549d1595c27089
treeffe099b48c23d5ac511e012df5e9a9ba31d04e68
parent6ae1be13e85f4c42c8ca371fda50ae39eebbfd96
f2fs: allow dio read for LFS mode

We can allow dio reads for LFS mode, while doing buffered writes for dio writes.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c