Spdk/test/unit/lib
Changpeng Liu 2706cd4238 nvme: add timeout for Admin commands when initialization
Currently there are no timeout mechanism for Admin commands
when initialization, the NVMe driver may enter infinite loop.
While here, add a new parameter to the controller initialization
options, NVMe controller will report an error when timeout
happens during initialization.

Change-Id: Id0c6b6fa15abe5227b486bee95c8e02914b0d358
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/424622
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
2018-11-16 15:29:33 +00:00
..
bdev thread: Update unit test to use new threading logic 2018-11-15 18:17:34 +00:00
blob blob: Use not C++ style comments // but C-style comments /* */ 2018-10-31 22:01:47 +00:00
blobfs test/unit: fix scan-build errors in blobfs tests 2018-08-31 00:01:09 +00:00
event rpc: add function to get the current RPC state 2018-11-08 23:04:50 +00:00
ioat ut/ioat: drop legacy mocks 2018-07-03 16:29:42 +00:00
iscsi iscsi: do not caculate the CRC in multiple times 2018-11-05 15:30:07 +00:00
json json: add utilities function enabling itaration over JSON object 2018-10-18 16:07:37 +00:00
jsonrpc jsonrpc: call spdk_jsonrpc_free_request only from server thread 2018-08-13 20:01:07 +00:00
log ut/log: test print level set and get functions 2018-10-09 18:08:49 +00:00
lvol test/unit: fix Scan-build errors in lvol tests. 2018-08-31 19:09:07 +00:00
nvme nvme: add timeout for Admin commands when initialization 2018-11-16 15:29:33 +00:00
nvmf nvmf: remove tgt_opts from nvmf_tgt 2018-11-08 23:08:26 +00:00
reduce reduce: generate uuid if user doesn't pass one 2018-11-15 01:03:26 +00:00
scsi scsi: Use not C++ style comments // but C-style comments /* */ 2018-10-31 22:01:47 +00:00
sock sock: Update the spdk_sock_getaddr function. 2018-10-11 04:58:49 +00:00
thread thread: Update unit test to use new threading logic 2018-11-15 18:17:34 +00:00
util bit_array: return UINT32_MAX if no cleared bits found 2018-10-08 17:03:33 +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 reduce: add configure option 2018-11-08 00:01:47 +00:00