a5b784fb2a
bdev_zone.h already has support for offline in enum spdk_bdev_zone_state. Therefore, a user can call spdk_bdev_get_zone_info() and see that a zone is in state offline, but the user has no way of putting a zone in that state. Add SPDK_BDEV_ZONE_OFFLINE to enum spdk_bdev_zone_action, so that a user can call spdk_bdev_zone_management() to put a zone in zone state offline. Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Change-Id: I733a815949d7db0fdce293ba0d762e75a545ba76 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6909 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> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |