qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/4] block: rename blk_io_plug_call() API to defer_call()


From: Paul Durrant
Subject: Re: [PATCH v2 1/4] block: rename blk_io_plug_call() API to defer_call()
Date: Fri, 18 Aug 2023 12:06:54 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

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.maximets@ovn.org>
Signed-off-by: Stefan Hajnoczi <stefanha@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 <paul@xen.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]