• Jaegeuk Kim's avatar
    f2fs: do not skip writing data pages · 28ea6162
    Jaegeuk Kim authored
    For data pages, let's try to flush as much as possible in background.
    
    On /dev/pmem0,
    
    1. dd if=/dev/zero of=/mnt/test/testfile bs=1M count=2048 conv=fsync
     Before : 800 MB/s
     After  : 1.1 GB/s
    
    2. dd if=/dev/zero of=/mnt/test/testfile bs=1M count=2048
     Before : 1.3 GB/s
     After  : 2.2 GB/s
    Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
    28ea6162
data.c 43.2 KB