Skip to content
Commit 4722607d authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent ac6889cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment