On 17/08/2023 16:58, Stefan Hajnoczi wrote:
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.maxim...@ovn.org>
Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com>
---
  include/sysemu/block-backend-io.h |   6 +-
  block/blkio.c                     |   8 +--
  block/io_uring.c                  |   4 +-
  block/linux-aio.c                 |   4 +-
  block/nvme.c                      |   4 +-
  block/plug.c                      | 109 +++++++++++++++---------------
  hw/block/dataplane/xen-block.c    |  10 +--
  hw/block/virtio-blk.c             |   4 +-
  hw/scsi/virtio-scsi.c             |   6 +-
  9 files changed, 76 insertions(+), 79 deletions(-)


Reviewed-by: Paul Durrant <p...@xen.org>


Reply via email to