numam-spdk/test
Darek Stojaczyk e8e46cb615 env_dpdk/pci: remove device detach callback
You don't get notified when someone starts using your hooked
device, so there's not much gain from knowing when someone
stops.

Remove that callback and also move DPDK device detach under
the same lock which sets the pending_removal flag. This eliminates
a data race window when hotremove notification could arrive
after device was detached, but before it was scheduled to be
removed.

vmd and ioat nest the spdk_pci_device struct and abigail complains
even though the parent structs only have forward declarations in
public headers. Adding those two structs to the suppression list
doesn't help though. Abidiff still complains about the pci device
struct being changed, probably because ioat.h and vmd.h both include
env.h. Abidiff suppresion list should eventually be split per-lib,
but for now ignore struct spdk_pci_device changes globally.

$ abidiff [...]/libspdk_ioat.so [...]

'struct spdk_pci_device at env.h:652:1' changed:
  type size changed from 1024 to 960 (in bits)
  1 data member deletion:
    <SNIP>

Change-Id: I9b113572c661f0e0786b6d625e16dc07fe77e778
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2939
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-07-23 20:48:47 +00:00
..
app test/fuzz: fix nvmf fuzzer for AERs. 2020-07-23 07:25:28 +00:00
bdev bdevperf: move global options to job struct 2020-07-22 12:24:08 +00:00
blobfs make: Create variable for event_bdev dependencies 2020-07-08 07:56:46 +00:00
blobstore build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
common test/common: Add spdk_dd to applications.sh 2020-07-23 07:24:08 +00:00
compress build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
config_converter test/config_converter: Declare $rootdir, $testdir paths 2020-02-20 09:54:15 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dd test/dd: Add tests for POSIX flags 2020-07-23 07:24:08 +00:00
dpdk_memory_utility build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
env env_dpdk/pci: remove device detach callback 2020-07-23 20:48:47 +00:00
event lib/thread: Use function name as poller name by using macro SPDK_POLLER_REGISTER 2020-04-15 07:23:09 +00:00
external_code sock: Add dependency on socket subsystem to other subsystems 2020-07-08 07:56:46 +00:00
ftl test/ftl: point to absolute path to setup.sh 2020-07-06 23:22:59 +00:00
fuzz check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt lib/iscsi: Manage free connections not by array but by TAILQ 2020-07-13 08:39:50 +00:00
json_config sock: Save socket subsystem configuration in JSON format 2020-07-13 08:40:15 +00:00
lvol build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
make env_dpdk/pci: remove device detach callback 2020-07-23 20:48:47 +00:00
nvme env_dpdk/pci: delay device initialization on hotplug 2020-07-23 20:48:47 +00:00
nvmf example/nvme: add application to test NVMe I/O abort 2020-07-17 07:21:13 +00:00
ocf build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
openstack test/nvmf: Handle multiple arguments in nvmfappstart() 2020-05-13 07:46:04 +00:00
pmem build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
rpc build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
rpc_client lib/event: fix printing non-null-terminated strings 2020-04-06 07:48:37 +00:00
spdkcli lvol: report io_unit_size as block_size instead of page size 2020-07-17 07:20:14 +00:00
unit lib/nvmf: complete requests in req_process for inactive qpairs. 2020-07-22 12:20:55 +00:00
vhost test/vhost: enable packed ring for BLK in performance tests 2020-06-15 15:27:25 +00:00
vmd build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
Makefile build: add option to disable building unit tests 2020-03-10 09:12:21 +00:00
spdk_cunit.h