From mboxrd@z Thu Jan 1 00:00:00 1970 From: keith.busch@intel.com (Keith Busch) Date: Mon, 26 Aug 2013 09:01:21 -0600 (MDT) Subject: Best way to exercise NVME ioctls In-Reply-To: References: Message-ID: On Sun, 25 Aug 2013, Prasad Joshi wrote: > Hi All, > > I am doing experiments with nvme linux driver. I would like to write > some sample programs which uses nvme ioctls. Specifically I wanted to > invoke identify command to start with. nvme.h header file contains two > structures "nvme_admin_cmd" and "nvme_identify", both seem to be > identical. I put some basic user programs up on another repository at http://git.infradead.org/users/kbusch/nvme-user.git It is very basic stuff; the programs there just run an nvme command through the ioctl and print the data in more-or-less human readable form.