From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7540268554212233420==" MIME-Version: 1.0 From: Harris, James R Subject: [SPDK] Re: Some questions about SPDK bdev module Date: Thu, 10 Feb 2022 15:14:28 +0000 Message-ID: <51803909-9F23-45CE-B621-E5BA7B7153CD@intel.com> In-Reply-To: CO1PR11MB48364BAD41D325146F421864AD2F9@CO1PR11MB4836.namprd11.prod.outlook.com List-ID: To: spdk@lists.01.org --===============7540268554212233420== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, Please try the following: { "subsystems": [ { "subsystem": "log", "config": [ { "method": "log_set_flag", "params": { "flag": "nvme" } } ] } ] } This JSON file will work if you only want to set the nvme log flag. Or if = you have an existing JSON file, you can just add the "subsystem" entry to t= he "subsystems" array in that file. Regards, Jim =EF=BB=BFOn 2/10/22, 6:34 AM, "Luse, Paul E" wrot= e: Hi, The example that Gang provided looked pretty good, you just need to use= that format and change the keys/values. Can you provide the exact json fi= le that you=E2=80=99ve tried (mentioned below) that isn=E2=80=99t working? Thx Paul From: liushengchao02(a)meituan.com Date: Thursday, February 10, 2022 at 12:22 AM To: spdk(a)lists.01.org Subject: [SPDK] Re: Some questions about SPDK bdev module Thank you for the reply. I have tested many ways in a "json config file" but still can not work = as executing 'rpc.py log_set_flag nvme' when starting the SPDK app with '-c= ' option and specify the json config file. That's why I'm here asking for an example of "json config file". Does anybody know the answers? Or currently SPDK does not support "log_= set_flag" in a json config file? Thanks _______________________________________________ SPDK mailing list -- spdk(a)lists.01.org To unsubscribe send an email to spdk-leave(a)lists.01.org _______________________________________________ SPDK mailing list -- spdk(a)lists.01.org To unsubscribe send an email to spdk-leave(a)lists.01.org --===============7540268554212233420==--