On Wed, Nov 27, 2019 at 08:06:43PM +0200, Nir Soffer wrote:
I have a failing test[1] of ovirt-imageio nbd client[2], getting
base:allocation from qemu-nbd.
The test fails because on CentOS 8, qemu-nbd returns:
{'base:allocation': [Extent(length=4096, zero=False)]}
We send CMD_BLOCK_STATUS with flags=0 (NBD_CMD_FLAG_REQ_ONE not set).
The tests fail with:
qemu-img-2.12.0-65.module_el8.0.0+189+f9babebb.5.x86_64
And work with:
qemu-img-4.1.0-5.fc30.x86_64
Could it be this fix which appeared in 3.1.0?
commit fb7afc797e071f2616e1ccc849b39fe43e7033bf
Author: Vladimir Sementsov-Ogievskiy <address@hidden>
Date: Wed Jul 4 14:23:02 2018 +0300
nbd/server: send more than one extent of base:allocation context
This is necessary for efficient block-status export, for clients which
support it. (qemu is not yet such a client, but could become one.)