[2/2] btrfs-progs: doc: remove explanation of 'X' attribute
diff mbox

Message ID 93de4c81-b80e-068c-3f4b-30860febc7fe@jp.fujitsu.com
State New
Headers show

Commit Message

Misono Tomohiro Dec. 12, 2017, 7:08 a.m. UTC
e2fsprogs has removed compression support since v1.43 and there is no field
'X' (no compress) for lxattr now. So, just remove the explanation.

Instead, "property get" can be used to check whether no compress flag is
set.

Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>
---
 Documentation/btrfs-man5.asciidoc | 6 ------
 1 file changed, 6 deletions(-)

Comments

David Sterba Dec. 12, 2017, 6:37 p.m. UTC | #1
On Tue, Dec 12, 2017 at 04:08:17PM +0900, Misono, Tomohiro wrote:
> e2fsprogs has removed compression support since v1.43 and there is no field
> 'X' (no compress) for lxattr now. So, just remove the explanation.

Hm right, I hoped that we could export the NOCOMP flag through
lsattr/chattr, but this relied on a compile-time compression support of
e2fsprogs.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Misono Tomohiro Dec. 13, 2017, 1:40 a.m. UTC | #2
1st patch requires btrfs/048's output to be modified.
If the patch is Ok, I will update the xfstest.

Thanks,
Tomohiro

On 2017/12/13 3:37, David Sterba wrote:
> On Tue, Dec 12, 2017 at 04:08:17PM +0900, Misono, Tomohiro wrote:
>> e2fsprogs has removed compression support since v1.43 and there is no field
>> 'X' (no compress) for lxattr now. So, just remove the explanation.
> 
> Hm right, I hoped that we could export the NOCOMP flag through
> lsattr/chattr, but this relied on a compile-time compression support of
> e2fsprogs.
> 
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/Documentation/btrfs-man5.asciidoc b/Documentation/btrfs-man5.asciidoc
index dd436cd1..caeec41b 100644
--- a/Documentation/btrfs-man5.asciidoc
+++ b/Documentation/btrfs-man5.asciidoc
@@ -642,12 +642,6 @@  long as this attribute is set (obviously the exception is unsetting the attribut
 'synchronous updates', for more details search `open`(2) for 'O_SYNC' and
 'O_DSYNC'
 
-*X*::
-'no compression', permanently turn off compression on the given file, other
-compression mount options will not affect that
-+
-When set on a directory, all newly created files will inherit this attribute.
-
 No other attributes are supported.  For the complete list please refer to the
 `chattr`(1) manual page.