Spdk/test/unit/lib
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
..
bdev bdev: Enforce that spdk_bdev_close() is called on same thread as open() 2018-09-06 20:59:05 +00:00
blob ut/blob: fully initialize payload_pattern in split_iov test 2018-08-31 04:35:32 +00:00
blobfs test/unit: fix scan-build errors in blobfs tests 2018-08-31 00:01:09 +00:00
event app: don't leak memory after failed arg parsing 2018-09-04 22:22:02 +00:00
ioat ut/ioat: drop legacy mocks 2018-07-03 16:29:42 +00:00
iscsi test/unit: fix scan-build errors in iscsi tests 2018-08-31 00:01:09 +00:00
json ut/json: add a few test cases to json_parse_ut 2018-07-06 22:47:18 +00:00
jsonrpc jsonrpc: call spdk_jsonrpc_free_request only from server thread 2018-08-13 20:01:07 +00:00
log rpc.py: remove references of "debug" trace flag 2018-04-25 17:31:28 +00:00
lvol test/unit: fix Scan-build errors in lvol tests. 2018-08-31 19:09:07 +00:00
nvme nvme: make nvme_ctrlr_start() static and can return correct errno 2018-09-05 21:55:38 +00:00
nvmf trace: inline tpoint_mask checking 2018-09-04 17:09:25 +00:00
scsi trace: add spdk_trace_record_tsc 2018-09-04 17:09:25 +00:00
sock sock: fix socket memory free 2018-08-10 15:38:38 +00:00
thread thread: Add a name parameter to spdk_register_io_device 2018-09-05 16:00:54 +00:00
util test/unit: Fix scan-build errors in thread and util tests 2018-08-31 19:09:07 +00:00
vhost ut/vhost: remove backend-specific tests 2018-07-03 22:18:57 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00