numam-spdk/lib
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
..
bdev bdev: handling duplicated bdev name 2017-11-28 16:20:30 -05:00
blob blobstore: on init write zeroes to metadata and unmap rest 2017-11-22 14:12:29 -05:00
blobfs blobfs: Add conf parse for blobfs. 2017-11-15 18:03:00 -05:00
conf log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
copy event: Move spdk_poller_register to io_channel 2017-11-28 12:30:37 -05:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk pci/dpdk: use rte_eal_dev_attach/detach for DPDK 17.11-rc3 2017-11-15 17:52:05 -05:00
event bdev: Remove poller abstraction 2017-11-28 15:29:35 -05:00
ioat copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
iscsi event: Move spdk_poller_register to io_channel 2017-11-28 12:30:37 -05:00
json json: add function to write UTF-16LE strings 2017-07-12 18:12:52 -04:00
jsonrpc log: rename SPDK_TRACELOG to SPDK_DEBUGLOG 2017-08-29 13:25:58 -04:00
log log: Create a separate implementation file for common log flag operations. 2017-11-14 15:53:37 -05:00
lvol lvol: fix lvol store load on lvols load fail 2017-11-15 18:05:09 -05:00
nbd nbd: add pthread_detach for created thread 2017-11-28 12:43:49 -05:00
net net&iscsi: force overwrite "*" and "[*]" by wildcard 2017-11-14 15:44:40 -05:00
nvme nvme: add a per-process attached_ctrlrs list 2017-11-28 16:21:07 -05:00
nvmf nvmf: Poll groups now automatically register pollers 2017-11-28 15:29:35 -05:00
rocksdb event: Move spdk_poller_register to io_channel 2017-11-28 12:30:37 -05:00
rpc rpc: set g_jsonrpc_server to NULL on close 2017-11-28 16:20:47 -05:00
scsi event: Move spdk_poller_register to io_channel 2017-11-28 12:30:37 -05:00
trace trace: Move trace flags to separate implementation file 2017-11-15 18:57:12 -05:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util channel: Add spdk_for_each_thread 2017-11-28 15:29:35 -05:00
vhost event: Move spdk_poller_register to io_channel 2017-11-28 12:30:37 -05:00
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00