Skip to content
  • Jaegeuk Kim's avatar
    f2fs: avoid issuing small bios due to several dirty node pages · a7fdffbd
    Jaegeuk Kim authored
    
    
    If some small bios of dirty node pages are supposed to be issued during the
    sequential data writes, there-in well-produced consecutive data bios are able
    to be split by the small node bios, resulting in performance degradation.
    So, let's collect a number of dirty node pages until reaching a threshold.
    And, by default, I set the threshold as 2MB, a segment size.
    
    This improves sequential write performance on i5, 512GB SSD (830 w/ SATA2) as
    follows.
    Before: 231 MB/s -> After: 255 MB/s
    
    Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
    Reviewed-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
    a7fdffbd