numam-spdk/test/spdkcli/match_files/spdkcli_details_vhost.test.match
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

33 lines
628 B
Plaintext

{
"aliases": [],
"assigned_rate_limits": {
"r_mbytes_per_sec": $(N),
"rw_ios_per_sec": $(N),
"rw_mbytes_per_sec": $(N),
"w_mbytes_per_sec": $(N)
},
"block_size": $(N),
"claimed": false,
"driver_specific": {
"split": {
"base_bdev": "Nvme0n1",
"offset_blocks": $(N)
}
},
"name": "Nvme0n1p0",
"num_blocks": $(N),
"product_name": "Split Disk",
"supported_io_types": {
"flush": $(S),
"nvme_admin": $(S),
"nvme_io": $(S),
"read": $(S),
"reset": $(S),
"unmap": $(S),
"write": $(S),
"write_zeroes": $(S)
},
"uuid": "$(S)",
"zoned": false
}