diff options
| author | Edgar Kaziakhmedov | 2018-01-18 12:51:58 +0100 |
|---|---|---|
| committer | Eric Blake | 2018-01-26 16:58:46 +0100 |
| commit | 9776f0db6a19a0510e89b7aae38190b4811c95ba (patch) | |
| tree | d8985aba7aa14f1c066f8e75b1d479cf833edacd /scripts/checkpatch.pl | |
| parent | hmp: Add nbd_server_remove to mirror QMP command (diff) | |
| download | qemu-9776f0db6a19a0510e89b7aae38190b4811c95ba.tar.gz qemu-9776f0db6a19a0510e89b7aae38190b4811c95ba.tar.xz qemu-9776f0db6a19a0510e89b7aae38190b4811c95ba.zip | |
nbd: implement bdrv_get_info callback
Since mirror job supports efficient zero out target mechanism (see
in mirror_dirty_init()), implement bdrv_get_info to make it work
over NBD. Such improvement will allow using the largest chunk possible
and will decrease the number of NBD_CMD_WRITE_ZEROES requests on the wire.
Signed-off-by: Edgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com>
Message-Id: <20180118115158.17219-1-edgar.kaziakhmedov@virtuozzo.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
