Edgar Kaziakhmedov 9776f0db6a 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>
2018-01-26 09:58:46 -06:00
..
2017-10-26 14:45:57 +02:00
2017-12-22 15:05:32 +01:00
2017-12-18 15:44:39 -05:00
2017-12-18 10:54:13 -05:00
2018-01-22 14:02:33 +00:00
2018-01-26 09:58:46 -06:00
2017-11-17 18:21:31 +01:00
2018-01-23 12:34:43 +01:00
2017-12-20 11:30:55 +00:00
2018-01-23 12:34:43 +01:00
2017-11-17 18:21:31 +01:00