Re: [PATCH 16/17] io_uring: drop ->prep_async()

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

 



On 3/20/24 22:55, Jens Axboe wrote:
It's now unused, drop the code related to it. This includes the
io_issue_defs->manual alloc field.

While in there, and since ->async_size is now being used a bit more
frequently and in the issue path, move it to io_issue_defs[].

Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
---
...
@@ -252,6 +260,7 @@ const struct io_issue_def io_issue_defs[] = {
  		.ioprio			= 1,
  		.iopoll			= 1,
  		.iopoll_queue		= 1,
+		.async_size		= sizeof(struct io_async_rw),
  		.prep			= io_prep_write,
  		.issue			= io_write,
  	},
@@ -272,8 +281,9 @@ const struct io_issue_def io_issue_defs[] = {
  		.pollout		= 1,
  		.audit_skip		= 1,
  		.ioprio			= 1,
-		.manual_alloc		= 1,
+		.buffer_select		= 1,

This does not belong to this series

  #if defined(CONFIG_NET)
+		.async_size		= sizeof(struct io_async_msghdr),
  		.prep			= io_sendmsg_prep,
  		.issue			= io_send,
  #else

--
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