Spdk/test/unit/lib/nvme
Daniel Verkamp bb2444f474 nvme: add a per-process attached_ctrlrs list
Only multi-process shared controllers should be inserted into the shared
list in g_spdk_nvme_driver.  To accomplish this, create a second
per-process global list of attached controllers (g_nvme_attached_ctrlrs)
and rename the driver struct field to shared_attached_ctrlrs to clarify
its purpose.  Additionally, a new helper function, nvme_ctrlr_shared(),
returns whether a given controller should be on the shared or
per-process list.

Change-Id: I46d4e558ece8b7fc3d28868e32bb56d794f21aab
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/389190
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-11-28 16:21:07 -05:00
..
nvme_ctrlr_cmd.c nvme: support meta data on vendor specific commands 2017-09-12 16:14:11 -04:00
nvme_ctrlr.c nvme: add a public API to rename spdk_nvme_ctrlr_opts_set_defaults 2017-10-09 12:31:12 -04:00
nvme_ns_cmd.c nvme: normalize PCI addresses before comparing 2017-11-16 18:17:09 -05:00
nvme_ns.c nvme: add support for NS Optimal IO Boundary 2017-08-16 15:55:29 -04:00
nvme_pcie.c nvme/pcie: use common trid -> ctrlr function 2017-11-28 16:21:07 -05:00
nvme_qpair.c test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme_quirks.c test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme.c nvme: add a per-process attached_ctrlrs list 2017-11-28 16:21:07 -05:00
Makefile test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00