btrfs: Add datasum mount option.

Add datasum mount option to enable checksum with
remount option.

Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
This commit is contained in:
Qu Wenruo 2014-01-06 09:58:32 +08:00 • committed by Chris Mason
commit d399167d88
2 changed files with 13 additions and 1 deletions

View file

@ -159,8 +159,10 @@ Options with (*) are default options and will not show in the mount options.
Enable/disable data copy-on-write for newly created files.
Nodatacow implies nodatasum, and disables all compression.
datasum(*)
nodatasum
Disable data checksumming for newly created files.
Enable/disable data checksumming for newly created files.
Datasum implies datacow.
notreelog
Disable the tree logging used for fsync and O_SYNC writes.