+17
−0
+8
−0
+1
−0
Loading
Add a function to get the number of max active zones for a zoned namespace. The value inside the identify namespace struct is a 0's based value, where 0xffffffff means unlimited. If unlimited, the addition will overflow and return 0, which is the intended value to represent unlimited for this API. Signed-off-by:Niklas Cassel <niklas.cassel@wdc.com> Change-Id: Ia09e3db157ca0afadbd3ca4032eedd7bcd88248c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6443 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:
sunshihao <sunshihao@huawei.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>