[SPDK] Re: Some questions about SPDK bdev module

Cao, Gang <gang.cao at intel.com> Thu, 10 Feb 2022 06:58:33 +0000
Newsgroups dev.linux.lists.spdk
Message-ID <PH0PR11MB50143E32C714338DB5B39526832F9@PH0PR11MB5014.namprd11.prod.outlook.com>
https://github.com/spdk/spdk/blob/master/examples/bdev/fio_plugin/bdev.json is one example of JSON file which is to call the bdev_malloc_create() RPC method.

Basically it is to convert the RPC command to json format. You may refer this to change the log_set_flag RPC method to JSON content.

-----Original Message-----
From: liushengchao02(a)meituan.com <liushengchao02(a)meituan.com> 
Sent: Thursday, February 10, 2022 12:50
To: spdk(a)lists.01.org
Subject: [SPDK] Re: Some questions about SPDK bdev module

Thank you for the reply.

For the 1st question, is it certain that the SPDK framework will handle remaining uncompleted spdk_bdev_io?

For the 2nd question, what I want is an example of 'json config file' that would do the same thing as calling 'rpc.py log_set_flag nvme' when I start the SPDK app with '-c' option and specify the json config file.

Thanks!
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org