commit | 4722607db6a78bd7748c51fa4c8d7371da797254 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Tue Oct 13 12:55:09 2009 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Tue Oct 13 13:35:11 2009 -0400 |
tree | 83c483a3f55d3f024863e1e33c3ac123e688c868 | |
parent | ac6889cbb254be1ffea376bea4a96ce9be0e0ed0 [diff] |
Btrfs: only write one super copy during fsync 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: Chris Mason <chris.mason@oracle.com>