For devices that don't have a UUID, the UUID is generated at registration time. That means that some devices will not have the same UUID from run to run, but this seems no worse than having no UUID at all. Change-Id: Icf6b8517ffcffabafa2b73176dc03d896d0017fe Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/459604 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
32 lines
610 B
Plaintext
32 lines
610 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)"
|
|
}
|