]> www.infradead.org Git - users/dwmw2/qemu.git/commit
block/blkio: convert to blk_io_plug_call() API
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 30 May 2023 18:09:56 +0000 (14:09 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 1 Jun 2023 11:34:03 +0000 (07:34 -0400)
commit28ff7b4dfbb5594fff86a2f283a96e0f3ce975d5
treeecedc4029b1793255fa25368406b047ff8368bdd
parentf2e590002bd6765e2b79fcd05992ecf70cc1d229
block/blkio: convert to blk_io_plug_call() API

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@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 20230530180959.1108766-4-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/blkio.c