Spdk/test/nvme
GangCao acbe9bd882 lib/nvme: only active process to operate the unmap operation
Fix issue: #2320

Only the primary process will do the unmap bar operation as for
the map bar operation.

The DevHandle is process specific and the issue here is the
secondary process's function pointer of DevHandle is not properly
set.

Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11216 (master)

(cherry picked from commit 765cf74d07)
Change-Id: I95dddc76c6ce4be8775b6aaf54699002baffd3b9
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11274
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: GangCao <gang.cao@intel.com>
2022-06-30 13:32:31 -04:00
..
aer spelling: test 2022-06-30 13:32:28 -04:00
boot_partition test/nvme: Add test application to verify Boot Partition Read / Write support 2021-09-07 07:34:09 +00:00
cmb test/nvme: Add basic test covering cmb_copy functionality 2021-07-20 07:59:43 +00:00
compliance nvmf/vfio-user: assign IO SQs which use shared CQ into same poll group 2022-06-30 13:32:31 -04:00
connect_stress test: add connect_stress test 2021-07-19 13:50:29 +00:00
cuse nvme: Add metadata support to io commands 2022-06-30 13:32:30 -04:00
deallocated_value nvme/deallocated_value: add vfio-user transport support 2022-06-30 13:32:29 -04:00
e2edp nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
err_injection nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
overhead nvme/overhead: add vfio_user transport support 2022-06-30 13:32:29 -04:00
perf test/nvme: add timeout to bdevperf perform_tests 2022-06-30 13:32:30 -04:00
reserve nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
reset spelling: test 2022-06-30 13:32:28 -04:00
sgl nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
simple_copy nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
startup nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
zns test/nvme/zns: Fix jq filter 2022-06-30 13:32:29 -04:00
hotplug.sh logs: create a log level flag in abort and hotplug applications 2022-06-30 13:32:29 -04:00
hw_hotplug.sh hw_hotplug.sh: fix the incorrect path to log.txt file 2022-06-30 13:32:30 -04:00
Makefile test/nvme: add nvme_compliance test app 2022-06-30 13:32:25 -04:00
nvme_bp.sh test/nvme: Add test application to verify Boot Partition Read / Write support 2021-09-07 07:34:09 +00:00
nvme_opal.sh test/opal: add a trap for opal_revert_and_init() 2020-08-19 07:30:04 +00:00
nvme_pmr.sh examples/pmr_persistence: Add PMR example application 2021-04-22 20:10:21 +00:00
nvme_rpc_timeouts.sh test/nvme: A simple test confirming we can change nvme timeout settings via rpc 2021-07-14 09:15:20 +00:00
nvme_rpc.sh build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
nvme_scc.sh test/nvme: Add test application to verify Simple Copy Command support 2021-05-18 12:43:24 +00:00
nvme.sh lib/nvme: only active process to operate the unmap operation 2022-06-30 13:32:31 -04:00