rbd: change the product name of rbd to "Ceph Rbd Disk"

Comply with the definition format used by other bdev
modules

Change-Id: Iac108bac540687b32fea4bb70374c22534c60aa0
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
Ziye Yang 2016-12-12 14:18:14 +08:00 committed by Jim Harris
parent aeaa76a5f3
commit 69fa44fc88

View File

@ -532,7 +532,7 @@ spdk_bdev_rbd_create(const char *pool_name, const char *rbd_name, uint32_t block
snprintf(rbd->disk.name, SPDK_BDEV_MAX_NAME_LENGTH, "Ceph%d",
blockdev_rbd_count);
snprintf(rbd->disk.product_name, SPDK_BDEV_MAX_PRODUCT_NAME_LENGTH, "Ceph rbd");
snprintf(rbd->disk.product_name, SPDK_BDEV_MAX_PRODUCT_NAME_LENGTH, "Ceph Rbd Disk");
blockdev_rbd_count++;
rbd->disk.write_cache = 0;