example/hello_blob: Drop .ini config in favor of json

Change-Id: Iea222f4ef072676cbb5e9014a7d98ac08a4e617a
Signed-off-by: WANGHAILIANG <hailiangx.e.wang@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2967
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
WANGHAILIANG 2020-06-19 17:01:54 +08:00 committed by Tomasz Zawadzki
parent b18895d025
commit a1c00096dd
4 changed files with 19 additions and 5 deletions

View File

@ -217,7 +217,7 @@ if [ $SPDK_RUN_FUNCTIONAL_TEST -eq 1 ]; then
run_test "blobstore" ./test/blobstore/blobstore.sh
run_test "blobfs" ./test/blobfs/blobfs.sh
run_test "hello_blob" $SPDK_EXAMPLE_DIR/hello_blob \
examples/blob/hello_world/hello_blob.conf
examples/blob/hello_world/hello_blob.json
fi
if [ $SPDK_TEST_NVMF -eq 1 ]; then

View File

@ -459,7 +459,7 @@ main(int argc, char **argv)
* specify a name for the app.
*/
opts.name = "hello_blob";
opts.config_file = argv[1];
opts.json_config_file = argv[1];
/*

View File

@ -1,3 +0,0 @@
[Malloc]
NumberOfLuns 1
LunSizeInMB 16

View File

@ -0,0 +1,17 @@
{
"subsystems": [
{
"subsystem": "bdev",
"config": [
{
"method": "bdev_malloc_create",
"params": {
"name": "Malloc0",
"num_blocks": 32768,
"block_size": 512
}
}
]
}
]
}