Commit 0f95673d authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

bdev/split: use "offset_blocks" in JSON config



This is consistent with the rest of the RPC calls that report a number
of blocks, and it matches the field in the split_disk structure.

Change-Id: Ie25534617112d65979c317fe13e05a6c32520a15
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 7829c5ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -215,7 +215,7 @@ vbdev_split_dump_config_json(struct spdk_bdev *bdev, struct spdk_json_write_ctx

	spdk_json_write_name(w, "base_bdev");
	spdk_json_write_string(w, split_disk->base_bdev->name);
	spdk_json_write_name(w, "offset_block");
	spdk_json_write_name(w, "offset_blocks");
	spdk_json_write_uint64(w, split_disk->offset_blocks);

	spdk_json_write_object_end(w);