Loading
test/bdev: Add a unit test to expose a race condition
There is a race condition with the following sequence: spdk_bdev_open() spdk_bdev_unregister() <-- starts deferred message spdk_bdev_close() deferred message runs, crashes Change-Id: I81fbced0849949cfb2dae5a7cc6f60c9685a8885 Signed-off-by:Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/424739 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>