Searched hist:"38 aa0889b2504bbe68e47f51cf73bf7f0a7246bd" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | segment.c | diff 38aa0889b2504bbe68e47f51cf73bf7f0a7246bd Mon Jan 05 18:02:20 CST 2015 Jaegeuk Kim <jaegeuk@kernel.org> 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>
|
H A D | data.c | diff 38aa0889b2504bbe68e47f51cf73bf7f0a7246bd Mon Jan 05 18:02:20 CST 2015 Jaegeuk Kim <jaegeuk@kernel.org> 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>
|
H A D | f2fs.h | diff 38aa0889b2504bbe68e47f51cf73bf7f0a7246bd Mon Jan 05 18:02:20 CST 2015 Jaegeuk Kim <jaegeuk@kernel.org> 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>
|