aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-12-14 10:12:56 -0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:34:41 +0200
commit204f03d0539319cb64001288bf5308b60f0ec58a (patch)
treea7781d72d2fb78ee32985235c3daf2cc0e14ba69 /tools
parentf1f67d336359290a86b2ed11ebbc35422fd8f8f4 (diff)
f2fs: support IO alignment for DATA and NODE writes
This patch implements IO alignment by filling dummy blocks in DATA and NODE write bios. If we can guarantee, for example, 32KB or 64KB for such the IOs, we can eliminate underlying dummy page problem which FTL conducts in order to close MLC or TLC partial written pages. Note that, - it requires "-o mode=lfs". - IO size should be power of 2, not exceed BIO_MAX_PAGES, 256. - read IO is still 4KB. - do checkpoint at fsync, if dummy NODE page was written. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions