From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5757789292799853510==" MIME-Version: 1.0 From: Harris, James R Subject: Re: [SPDK] Multiple start/stop of reactor and add/remove of bdev Date: Mon, 08 Oct 2018 17:00:47 +0000 Message-ID: <7471B075-8986-4975-99B8-CB6CC097CAEE@intel.com> List-ID: To: spdk@lists.01.org --===============5757789292799853510== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Shahar, Can you describe why you require starting/stopping the reactor on demand? Thanks, -Jim On 10/8/18, 1:07 AM, "SPDK on behalf of Shahar Salzman" wrote: Hi, = = I am now working with my passthrough bdev directly from my application,= and require adding/removing them dynamically. In addition, I also require = starting/stopping the reactor on demand without tearing down the entire sys= tem (e.g. dpdk stays initialized). This mostly works out of the box, but th= ere are a few globals and bdev internal fields which require re-init or tea= r down. = In addition, the copy engine did not io_unregister itself, so I also ad= ded this in the patchset, allowing me the following application life span: = = - env init (init config, spdk_env_init) = - reactors init = - while (application is alive) = subsystem_init + reactor start = ... = Do some NVMeF stuff = ... = subsysem_fini + reactors stop = - reactors_fini = - rpc_finish = = = I submitted the following patches for review: = https://review.gerrithub.io/c/spdk/spdk/+/428305 = https://review.gerrithub.io/c/spdk/spdk/+/428304 = https://review.gerrithub.io/c/spdk/spdk/+/428303 = https://review.gerrithub.io/c/spdk/spdk/+/428302 = = WDYT? = = Shahar _______________________________________________ SPDK mailing list SPDK(a)lists.01.org https://lists.01.org/mailman/listinfo/spdk = --===============5757789292799853510==--