OSDN Git Service

block/nvme: convert to blk_io_plug_call() API
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 30 May 2023 18:09:55 +0000 (14:09 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 1 Jun 2023 11:34:03 +0000 (07:34 -0400)
commitf2e590002bd6765e2b79fcd05992ecf70cc1d229
tree67afa9553fd5c18a34aca71c4498de5b63ca1f1d
parent41abca8c39244b7eeb06378c4aa18b10e0645a1c
block/nvme: 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-3-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/nvme.c
block/trace-events