Spdk/module/bdev
Konrad Sztyber c94ecfaedc lib/bdev: zoned info in get_bdevs RPC call
Zoned bdev properties were added to the result of the get_bdevs RPC
call:
 - zoned: indicates whether the device is zoned or a regular
   block device
 - zone_size: number of blocks in a single zone
 - max_open_zones: maximum number of open zones
 - optimal_open_zones: optimal number of open zones

The "zoned" field is a boolean and is always present, while the rest is
only available for zoned bdevs.

Change-Id: Ib82b39d4ab20543d0a754dbc4c0317885fb831d1
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467144
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Mateusz Kozlowski <mateusz.kozlowski@intel.com>
Reviewed-by: Maciej Szwed <maciej.szwed@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-10-02 21:13:16 +00:00
..
aio mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
compress module/compress: fix a few typos in comments/log messages 2019-09-18 18:17:28 +00:00
crypto RPC: rename rpc get_bdevs to bdev_get_bdevs 2019-09-13 22:39:15 +00:00
delay mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
error RPC: rename RPC bdev_error series 2019-08-26 18:59:18 +00:00
gpt mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
iscsi RPC: rename bdev_iscsi RPCs 2019-08-26 22:42:48 +00:00
lvol lvol: Use error log instead of info log on error 2019-09-09 08:40:58 +00:00
malloc scripts/rpc: Rename rpc delete_malloc_bdev to bdev_malloc_delete 2019-09-09 05:02:47 +00:00
null scripts/rpc: Rename rpc related to null bdev 2019-08-28 15:19:58 +00:00
nvme nvme: Add opal init process for nvme bdev 2019-10-01 14:12:57 +00:00
ocf lib/bdev/ocf: fix race between examine and delete in mulicore test 2019-09-27 15:27:55 +00:00
passthru module/passthru: fix a few typos in comments 2019-09-20 02:02:42 +00:00
pmem rpc: Rename delete_pmem_pool to bdev_pmem_delete_pool 2019-09-05 07:04:17 +00:00
raid module/raid: move a single function up 2019-09-30 20:35:03 +00:00
rbd RPC: rename rpc delete_rbd_bdev to bdev_rbd_delete 2019-09-13 22:39:15 +00:00
rpc lib/bdev: zoned info in get_bdevs RPC call 2019-10-02 21:13:16 +00:00
split RPC: rename destruct_split_vbdev to bdev_split_delete 2019-09-19 19:24:47 +00:00
uring mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
virtio RPC: rename construct_virtio_dev to bdev_virtio_attach_controller 2019-09-19 19:24:47 +00:00
Makefile mk: standardize DIRS-x assignments. 2019-08-29 20:16:18 +00:00