btrfs-progs: docs: document checksum options for mkfs and convert

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2019-11-05 20:31:04 +01:00
parent b9000ce339
commit c1a1aa9e33
2 changed files with 11 additions and 0 deletions

View File

@ -83,6 +83,11 @@ Note that balance operation takes a lot of time, please see also
OPTIONS OPTIONS
------- -------
--csum <type>::
--checksum <type>::
Specify the checksum algorithm. Default is 'crc32c'. Valid values are 'crc32c',
'xxhash', 'sha256' or 'blake2'. To mount such filesystem kernel must support the
checksums as well.
-d|--no-datasum:: -d|--no-datasum::
disable data checksum calculations and set the NODATASUM file flag, this can speed disable data checksum calculations and set the NODATASUM file flag, this can speed
up the conversion up the conversion

View File

@ -25,6 +25,12 @@ OPTIONS
Specify the size of the filesystem. If this option is not used, then Specify the size of the filesystem. If this option is not used, then
mkfs.btrfs uses the entire device space for the filesystem. mkfs.btrfs uses the entire device space for the filesystem.
*--csum <type>*::
*--checksum <type>*::
Specify the checksum algorithm. Default is 'crc32c'. Valid values are 'crc32c',
'xxhash', 'sha256' or 'blake2'. To mount such filesystem kernel must support the
checksums as well.
*-d|--data <profile>*:: *-d|--data <profile>*::
Specify the profile for the data block groups. Valid values are 'raid0', Specify the profile for the data block groups. Valid values are 'raid0',
'raid1', 'raid5', 'raid6', 'raid10' or 'single' or 'dup' (case does not matter). 'raid1', 'raid5', 'raid6', 'raid10' or 'single' or 'dup' (case does not matter).