summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2021-05-06 11:06:15 +0200
committerMax Reitz2021-05-14 16:14:10 +0200
commitad578c56d596a3250a62ae8687005ca6909d2688 (patch)
tree309620f4ad2d5f7ebe80bf330c31cc61692aa5f7 /block
parentblock/write-threshold: don't use write notifiers (diff)
downloadqemu-ad578c56d596a3250a62ae8687005ca6909d2688.tar.gz
qemu-ad578c56d596a3250a62ae8687005ca6909d2688.tar.xz
qemu-ad578c56d596a3250a62ae8687005ca6909d2688.zip
block: drop write notifiers
They are unused now. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20210506090621.11848-3-vsementsov@virtuozzo.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/io.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/block/io.c b/block/io.c
index 3520de51bb..1e826ba9e8 100644
--- a/block/io.c
+++ b/block/io.c
@@ -3165,12 +3165,6 @@ bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov)
return true;
}
-void bdrv_add_before_write_notifier(BlockDriverState *bs,
- NotifierWithReturn *notifier)
-{
- notifier_with_return_list_add(&bs->before_write_notifiers, notifier);
-}
-
void bdrv_io_plug(BlockDriverState *bs)
{
BdrvChild *child;