diff options
| author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-05-06 12:06:14 +0300 |
|---|---|---|
| committer | Max Reitz <mreitz@redhat.com> | 2021-05-14 16:14:10 +0200 |
| commit | 94783301b8cb3f2b4fd871badd923fb3b9d2e7bf (patch) | |
| tree | 04549f1d015e196cbefeb104ede1daf1c8ca360a /scripts/qapi/common.py | |
| parent | ac4e14f5dc93d6b4bc5d4849bb61810023330380 (diff) | |
| download | focaccia-qemu-94783301b8cb3f2b4fd871badd923fb3b9d2e7bf.tar.gz focaccia-qemu-94783301b8cb3f2b4fd871badd923fb3b9d2e7bf.zip | |
block/write-threshold: don't use write notifiers
write-notifiers are used only for write-threshold. New code for such purpose should create filters. Let's better special-case write-threshold and drop write notifiers at all. (Actually, write-threshold is special-cased anyway, as the only user of write-notifiers) So, create a new direct interface for bdrv_co_write_req_prepare() and drop all write-notifier related logic from write-threshold.c. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20210506090621.11848-2-vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> [mreitz: Adjusted comment as per Eric's suggestion] Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions