]> git.proxmox.com Git - mirror_qemu.git/commit - block/nvme.c
block: rename blk_io_plug_call() API to defer_call()
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 13 Sep 2023 20:00:42 +0000 (16:00 -0400)
committerKevin Wolf <kwolf@redhat.com>
Tue, 31 Oct 2023 14:41:24 +0000 (15:41 +0100)
commitccee48aa736b97f0ce4ab04ad41815f0e575d526
treea0afeed81569d93fc285de9ffdbda17c605e445f
parent302823854b078f0525cf1babcc4fc9ff7b7d5f71
block: rename blk_io_plug_call() API to defer_call()

Prepare to move the blk_io_plug_call() API out of the block layer so
that other subsystems call use this deferred call mechanism. Rename it
to defer_call() but leave the code in block/plug.c.

The next commit will move the code out of the block layer.

Suggested-by: Ilya Maximets <i.maximets@ovn.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Paul Durrant <paul@xen.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20230913200045.1024233-2-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/blkio.c
block/io_uring.c
block/linux-aio.c
block/nvme.c
block/plug.c
hw/block/dataplane/xen-block.c
hw/block/virtio-blk.c
hw/scsi/virtio-scsi.c
include/sysemu/block-backend-io.h