• Chris Mason's avatar
    Btrfs: only write one super copy during fsync · 4722607d
    Chris Mason authored
    During a tree-log commit for fsync, we've been writing at least
    two copies of the super block and forcing them to disk.
    
    The other filesystems write only one, and this change brings us on
    par with them.  A full transaction commit will write all the super
    copies, so we still have redundant info written on a regular
    basis.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    4722607d
tree-log.c 83.1 KB