[Bug 269638] aio_read() w/o aio_offset

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 Feb 2023 20:20:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269638

            Bug ID: 269638
           Summary: aio_read() w/o aio_offset
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: vini.ipsmaker@gmail.com

Hi, I'd like to use AIO to read files w/o specifying an offset in the member
aio_offset. Instead, I'd like for the current file offset to be used. For
Linux, io_uring supports using -1 for the offset to indicate that the current
file position should be used instead of passing in an explicit offset. I'd like
to do the same on FreeBSD. Could a function aio_readpipe() (and
aio_writepipe()) or something like that be added?

-- 
You are receiving this mail because:
You are the assignee for the bug.