Spdk/test
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
..
accel_engine test/accel_engine: add more test cases 2021-09-01 07:34:02 +00:00
app test/llvm_nvme_fuzz: add NAMESPACE ATTACHMENT and NAMESPACE MANAGEMENT 2022-06-30 13:32:30 -04:00
bdev autotest: Skip use of any zoned nvme devices 2022-06-30 13:32:28 -04:00
blobfs test/blobfs: update rocksdb version 2022-06-30 13:32:29 -04:00
blobstore scheduler: Change main core frequency dynamically 2021-01-22 18:31:25 +00:00
common autopackage: Move extra RPM tests to nightly 2022-06-30 13:32:30 -04:00
compress test/nvmf: use recommended nvmf_create_subsystem rpc 2021-05-20 15:00:22 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dd test/dd: Simple tests utilizing uring RPCs 2022-06-30 13:32:29 -04:00
dma test/dma: Update the test to run IO for some time 2022-06-30 13:32:27 -04:00
dpdk_memory_utility check_format: Ignore shellcheck's SC2128 and SC2178 directives 2021-06-30 22:43:05 +00:00
env spelling: test 2022-06-30 13:32:28 -04:00
event spelling: test 2022-06-30 13:32:28 -04:00
external_code spelling: test 2022-06-30 13:32:28 -04:00
ftl autotest: Skip use of any zoned nvme devices 2022-06-30 13:32:28 -04:00
fuzz nvme_fuzz: pass trid on command line only 2022-06-30 13:32:25 -04:00
interrupt spelling: test 2022-06-30 13:32:28 -04:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt Lib/iSCSI: add the LUN Resize support 2022-06-30 13:32:31 -04:00
json_config test/json_config: Simplify events check 2022-06-30 13:32:29 -04:00
lvol spelling: test 2022-06-30 13:32:28 -04:00
make build: don't put out-of-tree ocf build in build/ dir 2021-08-17 08:54:30 +00:00
nvme lib/nvme: only active process to operate the unmap operation 2022-06-30 13:32:31 -04:00
nvmf nvmf/rdma: Round up in_capsule_data_size to support msdbd=16 2022-06-30 13:32:31 -04:00
ocf check_format: Fixes for shellcheck's SC2251 directive 2021-06-30 22:43:05 +00:00
openstack test/openstack: restart whole devstack before tests 2022-06-30 13:32:29 -04:00
pmem spelling: test 2022-06-30 13:32:28 -04:00
rpc autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
rpc_client build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler test/scheduler: Ignore failures while removing dummy cgroups 2022-06-30 13:32:30 -04:00
setup autotest: Skip use of any zoned nvme devices 2022-06-30 13:32:28 -04:00
spdkcli autotest: Don't override default amount of hugepages on Linux to 8GB 2021-06-24 17:33:10 +00:00
thread test/thread: Add poller_perf to evaluate cost to run poller 2021-08-20 07:29:42 +00:00
unit Revert "nvme/rdma: Correct qpair disconnect process" 2022-06-30 13:32:31 -04:00
vfio_user test/vfio_user: Restart vm, check if memory region register/unregister failed 2022-06-30 13:32:29 -04:00
vhost test/vhost: add vfio_user mode to performance scripts 2022-06-30 13:32:31 -04:00
vmd test: replace VMD_WHITELIST with VMD_ALLOWED 2020-12-03 09:41:07 +00:00
Makefile test/dma: Add functional test to verify DMA 2022-06-30 13:32:25 -04:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00