From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3870662328451649568==" MIME-Version: 1.0 From: Stojaczyk, Dariusz Subject: [SPDK] Running SPDK without app framework Date: Mon, 03 Feb 2020 12:16:35 +0000 Message-ID: <26203033ee3e4e4bb44b58ed73e31917@intel.com> List-ID: To: spdk@lists.01.org --===============3870662328451649568== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Tomek, I'm looking through your patch example/fio: add option to load json_= config [1] and have some concerns to the overall design of applications uti= lizing SPDK without the app framework. First of all, we seem to use spdk_ap= p_json_config_load() to load a JSON config in fio_plugin. The spdk_app_ pre= fix in that function suggests it's the app framework API, which we don't us= e in fio_plugin. I'm guessing it should be at least renamed? spdk_json_conf= ig_load() maybe? spdk_app_json_config_load() is defined in spdk_internal/event.h. Why is thi= s internal anyway? This practically forces external SPDK users to stick wit= h either legacy json config files, or spdk_app_start(). The question is whe= re should we move it? lib/event.h is currently specific to the app framewor= k. Do you have any plans for SPDK app design without the app framework? I'm= guessing we do want to support it (see fio_plugin), but currently it's mes= sy. D. [1] https://review.gerrithub.io/c/spdk/spdk/+/463979/ --===============3870662328451649568==--