• Jiro SEKIBA's avatar
    nilfs2: stop using periodic write_super callback · 1dfa2710
    Jiro SEKIBA authored
    This removes nilfs_write_super and commit super block in nilfs
    internal thread, instead of periodic write_super callback.
    
    VFS layer calls ->write_super callback periodically.  However,
    it looks like that calling back is ommited when disk I/O is busy.
    And when cleanerd (nilfs GC) is runnig, disk I/O tend to be busy thus
    nilfs superblock is not synchronized as nilfs designed.
    
    To avoid it, syncing superblock by nilfs thread instead of pdflush.
    Signed-off-by: default avatarJiro SEKIBA <jir@unicus.jp>
    Signed-off-by: default avatarRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
    1dfa2710
segment.c 76.9 KB