This ERROR log is: bdev_raid_rpc.c: 276:rpc_bdev_raid_create: *ERROR*: the rpc param strip_size is deprecated. raid_bdev_write_config_json() generates a bdev.json: { "method": "bdev_raid_create", "params": { "name": "raid0", "strip_size": 64, "raid_level": "raid0", "base_bdevs": [ "Malloc4", "Malloc5" ] } }, rpc_bdev_raid_create() will check this req.strip_size, it always print this ERROR log: else if (req.strip_size > 0 && req.strip_size_kb == 0) { SPDK_ERRLOG("the rpc param strip_size is deprecated.\n"); So I replace "strip_size" with "strip_size_kb" here. Change-Id: Ic9570c88dd336a755ccd53690962eddbaac22e1b Signed-off-by: WANGHAILIANG <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3885 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Community-CI: Mellanox Build Bot |
||
---|---|---|
.. | ||
bdev_raid_rpc.c | ||
bdev_raid.c | ||
bdev_raid.h | ||
Makefile | ||
raid0.c | ||
raid5.c |