[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 5/6] block/linux-aio: convert to blk_io_plug_call() API
On Wed, May 17, 2023 at 06:10:21PM -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 | 28 ---------------------------- > block/linux-aio.c | 41 +++++++++++------------------------------ > 3 files changed, 11 insertions(+), 65 deletions(-) > Nice to see that not only is it friendlier to multi-queue, it's also fewer lines of code. 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 |