Spdk/lib/bdev
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
..
bdev_internal.h bdev: rename spdk_bdev_get_io to bdev_channel_get_io 2019-11-20 09:34:18 +00:00
bdev_rpc.c lib/bdev: add spdk_bdev_wait_for_examine() 2021-01-15 08:28:57 +00:00
bdev_zone.c bdev/zone: add support for max active zones 2021-03-19 08:23:09 +00:00
bdev.c bdev: Correct the bdev_io status to ABORTED when aborted in NVMe bdev module 2021-03-18 14:41:13 +00:00
Makefile so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
part.c module/bdev: remove deprecated API 2021-03-09 08:54:53 +00:00
scsi_nvme.c nvme: fix command specific status code 2020-02-20 09:49:24 +00:00
spdk_bdev.map bdev/zone: add support for max active zones 2021-03-19 08:23:09 +00:00
vtune.c mk: don't use '-include spdk/config.h' 2018-10-02 23:13:32 +00:00