From 16570509f6b631e554113dacbff3fe051b0927af Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 17 May 2016 16:13:44 +0200 Subject: btrfs-progs: docs: compression is disabled with nodatasum/nodatacow Explicitly mention the constraints in all involved options. Signed-off-by: David Sterba --- Documentation/btrfs-man5.asciidoc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation') diff --git a/Documentation/btrfs-man5.asciidoc b/Documentation/btrfs-man5.asciidoc index 6ce4c440..7dd323fa 100644 --- a/Documentation/btrfs-man5.asciidoc +++ b/Documentation/btrfs-man5.asciidoc @@ -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) -- cgit v1.2.3