[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 4/6] block/io_uring: convert to blk_io_plug_call() API
On Wed, May 17, 2023 at 06:10:20PM -0400, Stefan Hajnoczi wrote: > Stop using the .bdrv_co_io_plug() API because it is not multi-queue > block layer friendly. Use the new blk_io_plug_call() API to batch I/O > submission instead. > > Signed-off-by: Stefan Hajnoczi <stefanha@xxxxxxxxxx> > --- > include/block/raw-aio.h | 7 ------- > block/file-posix.c | 10 --------- > block/io_uring.c | 45 ++++++++++++++++------------------------- > block/trace-events | 5 ++--- > 4 files changed, 19 insertions(+), 48 deletions(-) > > @@ -337,7 +325,6 @@ void luring_io_unplug(void) > * @type: type of request > * > * Fetches sqes from ring, adds to pending queue and preps them > - * > */ > static int luring_do_submit(int fd, LuringAIOCB *luringcb, LuringState *s, > uint64_t offset, int type) > @@ -370,14 +357,16 @@ static int luring_do_submit(int fd, LuringAIOCB > *luringcb, LuringState *s, Looks a bit like a stray hunk, but you are touching the function, so it's okay. Reviewed-by: Eric Blake <eblake@xxxxxxxxxx> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |