Spdk/test
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
..
app rpc: add default UNIX domain socket listen address 2017-11-13 14:57:49 -05:00
blobfs/rocksdb test/blobfs: add timing for rocksdb benchmarks 2017-09-20 19:33:50 -04:00
cpp_headers build: include spdk.app.mk in all app Makefiles 2017-11-15 17:57:07 -05:00
iscsi_tgt test/iscsi/nvme_remote: use UNIX socket for RPC 2017-11-21 16:33:55 -05:00
lib event: Move spdk_poller_register to io_channel 2017-11-28 12:30:37 -05:00
lvol test/lvol: add friendly name specific tests 2017-11-17 18:24:08 -05:00
nvmf rpc: add default UNIX domain socket listen address 2017-11-13 14:57:49 -05:00
pmem rpc: add default UNIX domain socket listen address 2017-11-13 14:57:49 -05:00
unit nvme: add a per-process attached_ctrlrs list 2017-11-28 16:21:07 -05:00
vhost test/vhost: remove COMMON_DIR from common.sh 2017-11-28 12:45:28 -05:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00