• Jaegeuk Kim's avatar
    f2fs: support IO alignment for DATA and NODE writes · 0a595eba
    Jaegeuk Kim authored
    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: default avatarJaegeuk Kim <jaegeuk@kernel.org>
    0a595eba
super.c 57.7 KB