spdk_top vs application mystery
by nufosmatic@nufosmatic.com
v20.10
I have an application I built derived from "hello_world" for bdev. It's been working with spdk_top right along. Very nice.
I modified a copy of bdevperf and spdk_top did nothing with it. I finally tried adding the "-r <path>" option that comes out of the framework, and it magically danced to life!
The question is why I don't have to use the "-r <path>" with the modified "hello_world" for bdev and why I do have to specify "-r <path>" (specifically -r /var/tmp/spdk.sock) for bdevperf. I don't see any differences in the spdk application startup. Or a better question is why the RPC server is inhibited in the one bdevperf case unless and until the option is given to the application. Can you give me some place to look?
I just sent back to "hello_world" for bdev, added a spin-delay before the spdk_app_stop(), and it also responded to spdk_top. (Kinda boring output, but it connected...) No "-r <path>" necessary...
Mystery...