]> git.proxmox.com Git - mirror_qemu.git/commit
virtio-blk: remove batch notification BH
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 13 Sep 2023 20:00:45 +0000 (16:00 -0400)
committerKevin Wolf <kwolf@redhat.com>
Tue, 31 Oct 2023 14:42:17 +0000 (15:42 +0100)
commit073458da5619c8914a91440ef243d1e2b888c1b7
tree52885acd863d0df51f2f0e17231c0d0f3684b547
parent84d61e5f36a73ed24742b7c7cf7b811e456dd024
virtio-blk: remove batch notification BH

There is a batching mechanism for virtio-blk Used Buffer Notifications
that is no longer needed because the previous commit added batching to
virtio_notify_irqfd().

Note that this mechanism was rarely used in practice because it is only
enabled when EVENT_IDX is not negotiated by the driver. Modern drivers
enable EVENT_IDX.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20230913200045.1024233-5-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>
hw/block/dataplane/virtio-blk.c