Skip to content

either always use fsync on btrfs or use chattr +C on heap and log files #1351

@spacejam

Description

@spacejam

as mentioned here, BTRFS uses functionality that is incompatible w/ sync_file_range when running in its default mode, but CoW can be disabled using chattr +C <file> on these systems, OR we can dynamically detect BTRFS and always use a full fsync instead of sync_file_range.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions