From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0114285654242668788==" MIME-Version: 1.0 From: Luse, Paul E Subject: Re: [SPDK] Running bdevio without a conf file Date: Mon, 03 Sep 2018 21:09:01 +0000 Message-ID: <82C9F782B054C94B9FC04A331649C77AAD530232@fmsmsx104.amr.corp.intel.com> In-Reply-To: CANvN+emyyar=uJv016uaORx_PWoMTQ4Gvo6+iBK1cq40NEwRBg@mail.gmail.com List-ID: To: spdk@lists.01.org --===============0114285654242668788== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Thanks!! Yup, that's what I was working on when I took a gym break just now= :) I thought it would have done with the -w option but had never paid atte= ntion before. If you already have something sure push a patch or feel free= to share in email, I'll be back on it again in 30 min or so.... Thx Paul -----Original Message----- From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Andrey Kuzmin Sent: Monday, September 3, 2018 1:32 PM To: Storage Performance Development Kit Subject: Re: [SPDK] Running bdevio without a conf file On a similar occasion, I had found it very helpful (with testing standalone bdevs) to start RPC server right in the bdevperf. The same should be certai= nly possible with bdevio; I can push a patch if need be. HTH, Andrey On Mon, Sep 3, 2018, 18:40 Luse, Paul E wrote: > Yeah, I'm not getting it. What I was trying is just: > > Window 1: > sudo ./bdevio --wait-for-rpc > > Window 2: > sudo scripts/rpc.py start_subsystem_init Error while connecting to = > /var/tmp/spdk.sock Error details: [Errno 111] Connection refused > > And obviously if that had worked I'd have slipped in my bdev contract = > RPCs before using the start RPC. > > Thanks > Paul > > -----Original Message----- > From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Luse, Paul = > E > Sent: Monday, September 3, 2018 8:36 AM > To: Storage Performance Development Kit > Subject: Re: [SPDK] Running bdevio without a conf file > > Thanks Jim! That's exactly the patch I was heading down... getting = > errors sending RPCs while bdevio is 'waiting' but haven't read the doc = > yet, will see what I can find.... > > -----Original Message----- > From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Harris, = > James R > Sent: Monday, September 3, 2018 8:34 AM > To: Storage Performance Development Kit > Subject: Re: [SPDK] Running bdevio without a conf file > > Shared memory ID and multi process in general only works with the NVMe = > driver. > > http://www.spdk.io/doc/app_overview.html#cmd_arg_multi_process > > Try running bdevio with -wait-for-rpc parameter. Documentation also = > available in jsonrpc.md. > > Jim > > Sent from my iPhone > > On Sep 3, 2018, at 8:22 AM, Luse, Paul E paul.e.luse(a)intel.com>> wrote: > > Just working on making the crypto module RPC-only and haven't done = > much with RPCs before. I'm trying to run the target in one window = > (using -I 1) and use RPCs to create a NVMe bdev with a crypto on top = > of it. The RPCs are working as I can confirm with both output and gdb un= der the spdk target. > > However I assumed I could run bdevio in another window with the same = > shared mem parm "./bdevio -I 1" for example and it should work however = > it does not see any bdevs in bdevio_construct_targets() > > Am I missing something high level or really simple here? > > Thx > Paul > _______________________________________________ > SPDK mailing list > SPDK(a)lists.01.org > https://lists.01.org/mailman/listinfo/spdk > _______________________________________________ > SPDK mailing list > SPDK(a)lists.01.org > https://lists.01.org/mailman/listinfo/spdk > _______________________________________________ > SPDK mailing list > SPDK(a)lists.01.org > https://lists.01.org/mailman/listinfo/spdk > _______________________________________________ > SPDK mailing list > SPDK(a)lists.01.org > https://lists.01.org/mailman/listinfo/spdk > -- = Regards, Andrey _______________________________________________ SPDK mailing list SPDK(a)lists.01.org https://lists.01.org/mailman/listinfo/spdk --===============0114285654242668788==--