Re: [PATCH liburing 1/4] Add vectored registered buffer req init helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/7/25 17:10, Caleb Sander Mateos wrote:
On Fri, Mar 7, 2025 at 8:22 AM Pavel Begunkov <asml.silence@xxxxxxxxx> wrote:
...
+IOURINGINLINE void io_uring_prep_writev2_fixed(struct io_uring_sqe *sqe, int fd,
+                                      const struct iovec *iovecs,
+                                      unsigned nr_vecs, __u64 offset,
+                                      int flags, int buf_index)
+{
+       io_uring_prep_writev2(sqe, fd, iovecs, nr_vecs, offset, flags);
+       sqe->opcode = IORING_OP_WRITE_FIXED;

IORING_OP_WRITEV_FIXED?

Good catch, that came from a prototype where it was based on
that opcode, I should just use the helper in the test.

--
Pavel Begunkov





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux