Spdk/test/unit/lib/nvme
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
..
nvme_ctrlr_cmd.c nvme: add Get/Set Feature wrappers with NSID 2018-06-12 17:59:33 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: nvme driver public API extension for Open-Channel 2018-06-12 17:59:33 +00:00
nvme_ctrlr.c nvme: add timeout for Admin commands when initialization 2018-11-16 15:29:33 +00:00
nvme_ns_cmd.c nvme: improve probe error handling in MP even further 2018-11-02 18:30:09 +00:00
nvme_ns_ocssd_cmd.c nvme: improve probe error handling in MP even further 2018-11-02 18:30:09 +00:00
nvme_ns.c nvme: add helper to wait for internal commands 2018-05-28 01:43:55 +00:00
nvme_pcie.c test: Simplify the mock library 2018-08-09 17:18:23 +00:00
nvme_qpair.c nvme: Use not C++ style comments // but C-style comments /* */ 2018-10-31 22:01:47 +00:00
nvme_quirks.c nvme: add debug logs for matched quirks 2018-02-23 10:07:39 -05:00
nvme_rdma.c test/unit: add nvme_rdma.c unittests 2018-10-09 21:17:17 +00:00
nvme.c nvme: improve probe error handling in MP even further 2018-11-02 18:30:09 +00:00
Makefile test/unit: add nvme_rdma.c unittests 2018-10-09 21:17:17 +00:00