Hi Tyler, I'm not sure if that is going to help you, but recently Xiaodong developed a patch, that allows sending IO commands to NVMe without writing your own application. Please look at the patch: https://review.gerrithub.io/c/spdk/spdk/+/417962 -- Best Regards, Piotr Pelpliński > -----Original Message----- > From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Luse, Paul E > Sent: Wednesday, October 3, 2018 11:53 PM > To: Storage Performance Development Kit > Subject: Re: [SPDK] How to send Single IO Command? > > Hi Tyler, > > The hello world in the examples for nvme is pretty basic: > > https://github.com/spdk/spdk/blob/master/examples/nvme/hello_world/hello_ > world.c > > as it shows both a write and a read to the nvme device. Are you trying to use > the nvme driver directly or go through bdev? If you wanted to share your > attempts I'm sure someone here could help point out where there might be a > simple mistake, that might be easier than pointing you to other potentially > irrelevant examples. > > Thx > Paul > > > -----Original Message----- > From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Pereira, Tyler > Sent: Wednesday, October 3, 2018 2:09 PM > To: spdk(a)lists.01.org > Subject: [SPDK] How to send Single IO Command? > > Hi All, > > I have been looking at SPDK as a way to run a specific set of NVMe IO > commands in a specific sequence. I have worked through some of the examples > such as hello-world, identity, and perf but am still hitting some issues when > trying to write my own code just trying to run a single IO command. I am > typically seeing a segmentation fault most likely due to the data structures or > parameters being passed to the read or write commands. > > Are there any simplified examples available that just show single IO commands > being created and sent to the device? > > Thanks, > Tyler Pereira > > _______________________________________________ > 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