btrfs-progs: docs: compression is disabled with nodatasum/nodatacow
authorDavid Sterba <dsterba@suse.com>
Tue, 17 May 2016 14:13:44 +0000 (16:13 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 1 Jun 2016 12:56:56 +0000 (14:56 +0200)
Explicitly mention the constraints in all involved options.

Signed-off-by: David Sterba <dsterba@suse.com>
Documentation/btrfs-man5.asciidoc

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