mbox series

[v2,0/4] clean up rw buffer import

Message ID cover.1740425922.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series clean up rw buffer import | expand

Message

Pavel Begunkov Feb. 24, 2025, 7:45 p.m. UTC
Do some minor brushing for read/write prep. It might need more work,
but should be a cleaner base for changes around how we import buffers.

v2: void * -> struct iovec * in io_import_vec()
    flip the if branches in __io_import_rw_buffer()

Pavel Begunkov (4):
  io_uring/rw: allocate async data in io_prep_rw()
  io_uring/rw: rename io_import_iovec()
  io_uring/rw: extract helper for iovec import
  io_uring/rw: open code io_prep_rw_setup()

 io_uring/rw.c | 94 +++++++++++++++++++++++++--------------------------
 1 file changed, 46 insertions(+), 48 deletions(-)

Comments

Jens Axboe Feb. 25, 2025, 2:43 p.m. UTC | #1
On Mon, 24 Feb 2025 19:45:02 +0000, Pavel Begunkov wrote:
> Do some minor brushing for read/write prep. It might need more work,
> but should be a cleaner base for changes around how we import buffers.
> 
> v2: void * -> struct iovec * in io_import_vec()
>     flip the if branches in __io_import_rw_buffer()
> 
> Pavel Begunkov (4):
>   io_uring/rw: allocate async data in io_prep_rw()
>   io_uring/rw: rename io_import_iovec()
>   io_uring/rw: extract helper for iovec import
>   io_uring/rw: open code io_prep_rw_setup()
> 
> [...]

Applied, thanks!

[1/4] io_uring/rw: allocate async data in io_prep_rw()
      commit: c72282dd865ee66bc1b8fbc843deefe53beb426c
[2/4] io_uring/rw: rename io_import_iovec()
      commit: 74c942499917e5d011ae414a026dda00a995a09b
[3/4] io_uring/rw: extract helper for iovec import
      commit: 99fab04778da20d2b7e224cb6932eb2ad532f5d8
[4/4] io_uring/rw: open code io_prep_rw_setup()
      commit: 61ed48b5fc63d1c6d9c3eb59ed2b46a2cbfc6039

Best regards,