+12
−0
Loading
Under fedora40, which is shipped with latest 6.10 kernel build, the bdev_nbd test introduces a new intermittent failure - when the mkfs is called against the target nbd device, right after nbd_start_disk(), it fails reporting the size of underlying device being 0. This is then followed by -EPIPE while reading the reply from the device: block nbd0: Receive control failed (result -32) This is kernel essentially telling us that there was no proper request to disconnect the device either. To mitigate, wait until setting up the nbd device completed by checking change in capacity. Signed-off-by:Michal Berger <michal.berger@intel.com> Change-Id: I0233785ac4e1cb42d85a3a071d6cc32e702fbfa1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24787 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com>