Skip to content

wrong offset passed to io_uring_prep_write_fixed/io_uring_prep_read_fixed for asio::stream_file #1558

@microcai

Description

@microcai

in asio/detail/io_uring_descriptor_read_op.hpp and asio/detail/io_uring_descriptor_write_op.hpp

in do_prepare, it prepares the sqe by calling io_uring_prep_read_fixed/io_uring_prep_write_fixed

for offset argument, it incorrectly pass 0 which should be -1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions