Spdk/test/unit/lib/bdev/mt/bdev.c
Ben Walker 898739fbac bdev: Enforce that spdk_bdev_close() is called on same thread as open()
spdk_bdev_close() must be called on the same thread as
spdk_bdev_open(). Further, the remove callback on the
descriptor will also be run on the same thread as
spdk_bdev_open().

Change-Id: I949d6dd67de1e63d39f06944d473e4aa7134111b
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/424738
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>
Reviewed-by: GangCao <gang.cao@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2018-09-06 20:59:05 +00:00
..
.gitignore test/bdev: add simulated multi-thread unit tests 2017-09-22 15:38:44 -04:00
bdev_ut.c bdev: Enforce that spdk_bdev_close() is called on same thread as open() 2018-09-06 20:59:05 +00:00
Makefile test: use spdk.unittest.mk in bdev unit tests 2018-02-14 11:07:05 -05:00