numam-spdk/test
Niklas Cassel ee4868de68 bdev/zone: add support for max active zones
The NVMe Zoned Namespace Command Set Specification has, in addition to a
Max Open Resources limit, a Max Active Resources limit.

An active resource is defined as zone being in zone state implicit open,
explicit open, or closed.

Create a function spdk_bdev_get_max_active_zones() in the generic SPDK
zone layer, so that this limit can be exposed to the user.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Change-Id: I6f61fc45e1dc38689dc54d5649c35fa9b91dbdfc
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6908
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2021-03-19 08:23:09 +00:00
..
accel_engine accel_engine test: Add the test case for accel_engine. 2021-01-21 15:49:40 +00:00
app lib/iscsi: Pass the range (offset and length) to iscsi_conn_read_data_segment() 2021-02-23 08:52:20 +00:00
bdev lib/bdev: move to spdk_bdev_open_ext() 2021-03-05 08:33:45 +00:00
blobfs rocksdb: Change absolut SPDK path in RocksDB build to relative path 2021-03-09 08:50:27 +00:00
blobstore scheduler: Change main core frequency dynamically 2021-01-22 18:31:25 +00:00
common pkgdep/git: Apply pci_aer_centos patch 2021-03-18 14:43:22 +00:00
compress script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
config_converter scripts/config_converter: skip sections not present in legacy config 2021-01-15 08:32:10 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dd test/dd: Lower the number of block size tests 2020-08-20 09:27:21 +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: Use the DPDK device count for IOMMU mapping 2021-01-22 18:32:53 +00:00
event test/scheduler: application to test behaviour of schedulers 2021-01-22 18:31:25 +00:00
external_code test/external_code: out-of-tree NVMe driver tests 2021-03-09 08:28:22 +00:00
ftl scripts: replace PCI_WHITELIST with PCI_ALLOWED 2020-12-03 09:41:07 +00:00
fuzz test/iscsi: remove VPP tests 2020-08-17 08:19:46 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
json_config lib/bdev: delay bdev_register notification til after examine 2021-01-15 08:28:57 +00:00
lvol test/lvol: rename lvol test script 2020-10-20 08:54:53 +00:00
make test/check_so_deps: avoid second read of config file 2021-03-18 13:23:59 +00:00
nvme test/nvme: fix e2edp tests when md_size > 8 bytes 2021-03-18 13:20:41 +00:00
nvmf test/nvmf: Make sure RoCEv2 protocol is used by irdma platform 2021-03-03 08:12:26 +00:00
ocf ocf/rpc: Add bdev_ocf_set_cache_mode method 2021-03-18 14:39:09 +00:00
openstack test/openstack: retry git clone when failed 2021-03-08 10:48:36 +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 build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
scheduler test/scheduler: Print minimum supported frequency by given cpu 2021-03-18 13:25:09 +00:00
spdkcli Revert "lib/event: do not spawn a thread for each reactor" 2021-02-01 08:04:51 +00:00
unit bdev/zone: add support for max active zones 2021-03-19 08:23:09 +00:00
vhost test/vhost: Fix SPDK cpumask for distribute_cores 2021-03-15 09:29:47 +00:00
vmd test: replace VMD_WHITELIST with VMD_ALLOWED 2020-12-03 09:41:07 +00:00
Makefile build: add option to disable building unit tests 2020-03-10 09:12:21 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00