Add indication of support for compare, compare & write and abort in json bdev info dump. Signed-off-by: Jonas Pfefferle <pepperjo@japf.ch> Change-Id: Ifc8dc1a1b180f08fcd9e9d58684eab1fd50356ff Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14137 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
38 lines
716 B
Plaintext
38 lines
716 B
Plaintext
{
|
|
"aliases": [
|
|
"$(UUID)"
|
|
],
|
|
"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": {
|
|
"abort": $(S),
|
|
"compare": $(S),
|
|
"compare_and_write": $(S),
|
|
"flush": $(S),
|
|
"nvme_admin": $(S),
|
|
"nvme_io": $(S),
|
|
"read": $(S),
|
|
"reset": $(S),
|
|
"unmap": $(S),
|
|
"write": $(S),
|
|
"write_zeroes": $(S)
|
|
},
|
|
"uuid": "$(S)",
|
|
"zoned": false
|
|
}
|