Skip to content
Commit e55179b3 authored by Li Zefan's avatar Li Zefan Committed by Chris Mason
Browse files

Btrfs: check the nodatasum flag when writing compressed files



If mounting with nodatasum option, we won't csum file data for
general write or direct-io write, and this rule should also be
applied when writing compressed files.

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 77906a50
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment