[PATCH 0/2] io_uring/uring_cmd cleanups

Yang Xiuwei <[email protected]>
Newsgroups org.kernel.vger.io-uring
Message-ID <[email protected]>
Two small io_uring/uring_cmd cleanups:

- copy the SQE into async data in io_uring_cmd_issue_blocking()
  before punting to io-wq, as the -EAGAIN and fallback punt paths
  already do (discussed in May [1])
- fix comment typos in io_uring_cmd_mark_cancelable() and correct
  the memory-ordering note in __io_uring_cmd_done()

The sqe_copy fix still has not made it to mainline; sending this series
in case it is still useful.

[1] https://lore.kernel.org/io-uring/[email protected]/

Yang Xiuwei (2):
  io_uring/uring_cmd: copy SQE before issue_blocking punt
  io_uring/uring_cmd: fix uring_cmd.c comments

 io_uring/uring_cmd.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
2.25.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.