310fc0b5d5
Like other test, need to add SPDK_CU_ASSERT_FATAL(TAILQ_EMPTY(&g_bdev_io_queue)). To avoid issue: scsi_bdev_ut.c:956:2: warning: Address of stack memory associated with local variable 'task' is still referred to by the global variable 'g_io_wait_queue' upon returning to the caller. This will be a dangling reference ut_put_task(&task); ^~~~~~~~~~~~~~~~~~ waiting exit from while loop in ut_bdev_io_flush. This is related to issue #822. Change-Id: If390f5076582a0149646f0c2a408c3bcd3b4fab6 Signed-off-by: yidong0635 <dongx.yi@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/459534 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
dev.c | ||
lun.c | ||
scsi_bdev.c | ||
scsi_pr.c | ||
scsi.c | ||
Makefile |