Content-Type: multipart/mixed; boundary="===============8231336969535433346==" MIME-Version: 1.0 From: yaoxinjing517 at gmail.com Subject: [SPDK] How can SPDK process copy data to target process? Date: Wed, 23 Mar 2022 08:16:15 +0000 Message-ID: <20220323081615.2883.29972@ml01.vlan13.01.org> List-ID: To: spdk@lists.01.org --===============8231336969535433346== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Currently, I want to build an SPDK backend for our app, which has multiple = processes created by fork. To this end, we would like to create a process = dedicated to SPDK for doing the IO work, for example, retrieving data from = NVME and sending the data to other processes, or collect requests from othe= r processes and sending data to NVME. However, SPDK doesn't support shared = memory between native processes, so we intend to use the ring on shared mem= ory (shm_open, etc.) for sending the request from other processes to the SP= DK process. The difficulty is how the process running SPDK can achieve the= zero-copy, which means, instead of copying the data from NVME disk to the = process running SPDK and then copying it to shared memory, then copy it to = the target process, we want the process running SPDK copy the data from NVM= E directly to the target process. Do you have any idea how we can achieve s= uch stuff? --===============8231336969535433346==--