On Tue, Sep 4, 2018, 01:19 Luse, Paul E wrote: > Just got back, see "attached" but nothing attached. You should recheck that email, it has a patch attached. Regards, Andrey I got the RPC server to start in bdevio by adding the default address to > the opts structure however construction of a bdev doesn't seem to be > allowed in this state. If you meant to attach something please fire it > over again, otherwise no big deal I'll figure it out.... > > Thanks! > Paul > > -----Original Message----- > From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Andrey Kuzmin > Sent: Monday, September 3, 2018 2:42 PM > To: Storage Performance Development Kit > Subject: Re: [SPDK] Running bdevio without a conf file > > On Tue, Sep 4, 2018 at 12:09 AM Luse, Paul E > wrote: > > > 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 attention 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.... > > > > Attached. > > Regards, > Andrey > > > > 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 > > certainly 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 > > under 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 > > _______________________________________________ > > 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