Skip to content

Multi buffer scatter-gather i/o is not atomic on Windows #119

@ned14

Description

@ned14

POSIX guarantees that multi-buffer scatter gather is executed as a single atomic operation. Windows, unless you opened with O_DIRECT, does not.

AFIO needs to emulate the POSIX behaviour using either memcpy to form a single buffer when buffers are small, or byte range locks when the buffers are large.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions