btrfs-progs: docs: compression is disabled with nodatasum/nodatacow

Explicitly mention the constraints in all involved options.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-05-17 16:13:44 +02:00
parent f34d10bbe9
commit 16570509f6

View File

@ -139,6 +139,8 @@ NOTE: If compression is enabled, 'nodatacow' and 'nodatasum' are disabled.
Enable data copy-on-write for newly created files. Enable data copy-on-write for newly created files.
'Nodatacow' implies 'nodatasum', and disables 'compression'. All files created 'Nodatacow' implies 'nodatasum', and disables 'compression'. All files created
under 'nodatacow' are also set the NOCOW file attribute (see `chattr`(1)). under 'nodatacow' are also set the NOCOW file attribute (see `chattr`(1)).
+
NOTE: If 'nodatacow' or 'nodatasum' are enabled, compression is disabled.
*datasum*:: *datasum*::
*nodatasum*:: *nodatasum*::
@ -148,6 +150,8 @@ Enable data checksumming for newly created files.
'Datasum' implies 'datacow', ie. the normal mode of operation. All files created 'Datasum' implies 'datacow', ie. the normal mode of operation. All files created
under 'nodatasum' inherit the "no checksums" property, however there's no under 'nodatasum' inherit the "no checksums" property, however there's no
corresponding file attribute (see `chattr`(1)). corresponding file attribute (see `chattr`(1)).
+
NOTE: If 'nodatacow' or 'nodatasum' are enabled, compression is disabled.
*degraded*:: *degraded*::
(default: off) (default: off)