public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH V3 0/2] io_uring: cancelable uring_cmd
@ 2023-09-22 16:09 Ming Lei
  2023-09-22 16:09 ` [PATCH V3 1/2] io_uring: retain top 8bits of uring_cmd flags for kernel internal use Ming Lei
  2023-09-22 16:09 ` [PATCH V3 2/2] io_uring: cancelable uring_cmd Ming Lei
  0 siblings, 2 replies; 5+ messages in thread
From: Ming Lei @ 2023-09-22 16:09 UTC (permalink / raw)
  To: Jens Axboe, io-uring, linux-block; +Cc: Gabriel Krisman Bertazi, Ming Lei

Hello,

Patch 1 retains top 8bits of  uring_cmd flags for kernel internal use.

Patch 2 implements cancelable uring_cmd.

git tree(with ublk change)

	https://github.com/ming1/linux/commits/uring_exit_and_ublk

V3:
	- code style change as suggested by Jens
	- add patch 1

V2:
	- use ->uring_cmd() with IO_URING_F_CANCEL for canceling command

Ming Lei (2):
  io_uring: retain top 8bits of uring_cmd flags for kernel internal use
  io_uring: cancelable uring_cmd

 include/linux/io_uring.h       | 19 +++++++++++++
 include/linux/io_uring_types.h |  6 ++++
 include/uapi/linux/io_uring.h  |  5 ++--
 io_uring/io_uring.c            | 34 +++++++++++++++++++++++
 io_uring/uring_cmd.c           | 51 +++++++++++++++++++++++++++++++++-
 5 files changed, 111 insertions(+), 4 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-22 16:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-22 16:09 [PATCH V3 0/2] io_uring: cancelable uring_cmd Ming Lei
2023-09-22 16:09 ` [PATCH V3 1/2] io_uring: retain top 8bits of uring_cmd flags for kernel internal use Ming Lei
2023-09-22 16:29   ` Jens Axboe
2023-09-22 16:09 ` [PATCH V3 2/2] io_uring: cancelable uring_cmd Ming Lei
2023-09-22 16:28   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox