+0
−34
Loading
1 For nbd_io in received list, we should not call nbd_put_io directly. We should still let those I/O be executed by the lower bdev layer in SPDK. 2 For nbd io in executed_io_list, we should not directly put the nbd device. The correct way is that we should write the io response to the kernel NBD device. Then the nbd device will not hang. Signed-off-by:Ziye Yang <ziye.yang@intel.com> Change-Id: Ic031ca23241dd77ef47e6ac21f6c346e67f3ce28 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5720 Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
<dongx.yi@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>