summaryrefslogtreecommitdiffstats
path: root/fs/fscache/netfs.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-01-05 16:02:20 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-01-09 17:02:27 -0800
commit38aa0889b2504bbe68e47f51cf73bf7f0a7246bd (patch)
treebfe9f9ed78dfd70dfec64a83a87835279ecefbf3 /fs/fscache/netfs.c
parent41ef94b35c8df8e01780b4a3362246c51f3aa79b (diff)
downloadlinux-38aa0889b2504bbe68e47f51cf73bf7f0a7246bd.tar.bz2
f2fs: align direct_io'ed data to section
This patch aligns the start block address of a file for direct io to the f2fs's section size. Some flash devices manage an over 4KB-sized page as a write unit, and if the direct_io'ed data are written but not aligned to that unit, the performance can be degraded due to the partial page copies. Thus, since f2fs has a section that is well aligned to FTL units, we can align the block address to the section size so that f2fs avoids this misalignment. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/fscache/netfs.c')
0 files changed, 0 insertions, 0 deletions