Skip to content
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

btrfs-progs: docs: add an extra note to btrfs data checksum and directIO #954

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

adam900710
Copy link
Collaborator

In v6.14 kernel release, btrfs will force direct IO to fall back to buffered one if the inode requires data checksum.

This will cause a small performance drop, to solve the false data checksum problem caused by direct IOs.

Although such change is small to most end users, for those requiring zero-copy direct IO this will be a behavior change, and require a proper documentation update.

@kdave kdave force-pushed the devel branch 2 times, most recently from 26e4d91 to 55137da Compare February 14, 2025 23:42
@adam900710 adam900710 force-pushed the dio_doc branch 2 times, most recently from 90a1ea4 to 3ec3396 Compare February 17, 2025 08:24
In v6.14 kernel release, btrfs will force a direct IO to fall back to
a buffered one if the inode requires a data checksum.

This will cause a small performance drop, to solve the false data
checksum mismatch problem caused by direct IOs.

Although such a change is small to most end users, for those requiring
such a zero-copy direct IO this will be a behavior change, and this
requires a proper documentation update.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
@adam900710 adam900710 merged commit 3a69833 into kdave:devel Feb 17, 2025
3 of 4 checks passed
@adam900710 adam900710 deleted the dio_doc branch February 17, 2025 08:25
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.

1 participant