diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-05-06 12:06:15 +0300 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2021-05-14 16:14:10 +0200 |
commit | ad578c56d596a3250a62ae8687005ca6909d2688 (patch) | |
tree | 309620f4ad2d5f7ebe80bf330c31cc61692aa5f7 /include/block | |
parent | 94783301b8cb3f2b4fd871badd923fb3b9d2e7bf (diff) | |
download | qemu-ad578c56d596a3250a62ae8687005ca6909d2688.zip qemu-ad578c56d596a3250a62ae8687005ca6909d2688.tar.gz qemu-ad578c56d596a3250a62ae8687005ca6909d2688.tar.bz2 |
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 'include/block')
-rw-r--r-- | include/block/block_int.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h index aff948f..b2c8b09 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -954,9 +954,6 @@ struct BlockDriverState { */ int64_t total_sectors; - /* Callback before write request is processed */ - NotifierWithReturnList before_write_notifiers; - /* threshold limit for writes, in bytes. "High water mark". */ uint64_t write_threshold_offset; @@ -1084,15 +1081,6 @@ bool bdrv_backing_overridden(BlockDriverState *bs); /** - * bdrv_add_before_write_notifier: - * - * Register a callback that is invoked before write requests are processed but - * after any throttling or waiting for overlapping requests. - */ -void bdrv_add_before_write_notifier(BlockDriverState *bs, - NotifierWithReturn *notifier); - -/** * bdrv_add_aio_context_notifier: * * If a long-running job intends to be always run in the same AioContext as a |