• R
    nilfs2: do not update log cursor for small change · 32502047
    Ryusuke Konishi 提交于
    Super blocks of nilfs are periodically overwritten in order to record
    the recent log position.  This shortens recovery time after unclean
    unmount, but the current implementation performs the update even for a
    few blocks of change.  If the filesystem gets small changes slowly and
    continually, super blocks may be updated excessively.
    
    This moderates the issue by skipping update of log cursor if it does
    not cross a segment boundary.
    Signed-off-by: NRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
    32502047
the_nilfs.h 10.4 KB