From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7909832873457381114==" MIME-Version: 1.0 From: Luse, Paul E Subject: Re: [SPDK] How to send Single IO Command? Date: Wed, 03 Oct 2018 21:52:48 +0000 Message-ID: <82C9F782B054C94B9FC04A331649C77AAD572488@FMSMSX108.amr.corp.intel.com> In-Reply-To: 5F3FC2B5C911F043A556778DABA5EF8C01139D58@MX204CL04.corp.emc.com List-ID: To: spdk@lists.01.org --===============7909832873457381114== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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_wo= rld.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 you= r 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 potential= ly 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 comma= nds 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 t= rying to write my own code just trying to run a single IO command. I am typ= ically seeing a segmentation fault most likely due to the data structures o= r parameters being passed to the read or write commands. Are there any simplified examples available that just show single IO comman= ds 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 --===============7909832873457381114==--