Skip to content

btrfs-progs: docs: update the compatibility about compression #1020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

adam900710
Copy link
Collaborator

There is a github issue that expressed confusion about the "Compatibility" section of "ch-compression.rst".

The words in the man page is indeed confusing, and some points are no longer correct either.

Considering how complex the direct IO and compression thing is, I didn't come up with a correct answer until reading the code.

So update that section to provide a more straightforward result.

Issue: #1015

There is a github issue that expressed confusion about the
"Compatibility" section of "ch-compression.rst".

The words in the man page is indeed confusing, and some points are no
longer correct either.

Considering how complex the direct IO and compression thing is, I didn't
come up with a correct answer until reading the code.

So update that section to provide a more straightforward result.

Issue: kdave#1015
Signed-off-by: Qu Wenruo <[email protected]>
@UserlandAlchemist
Copy link

It looks like there’s a minor typo:

Compression requires both data checksum and COW, so either *nodatasum* or
*nodatasum* mount option/inode flag will result no compression.

I believe the second nodatasum should be nodatacow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants