Keith Busch [Wed, 4 Feb 2015 17:36:49 +0000 (10:36 -0700)]
NVMe: Provide easy read and write commands
This adds convienience functions for read and write. They are similar
to compare in that they use the helpful NVME_SUBMIT_IO IOCTL instead of
the passthru version that requires more setup.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Keith Busch [Mon, 2 Feb 2015 18:10:41 +0000 (11:10 -0700)]
NVMe: Add install target and man pages
This adds an install target, hard-coded to /usr/local/. Feel free to
propose a more correct way to do an install.
Lots of people tell me they don't have asciidoc, so they get only errors
when compiling the documenation. As such, I added the generated man pages
to the repo and made building documenation its own make target separate
from default. You can invoke "make all" or "make doc".
The only way to get to the help contents is to run "make install" now,
but it at least works correctly when you are not running nvme from the
directory you built it, so it's a step in the right direction.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Keith Busch [Wed, 26 Nov 2014 20:44:30 +0000 (13:44 -0700)]
NVMe: Initial commit for cli program
This is a combined nvme user space program for all commands into a single
program. Usage was inspired by 'git'. Run 'nvme help' to see what commands
are available, and 'nvme help <cmd>' for detailed usage.
Some documentation is missing or partially completed, but I wanted to
get this on a public repo before leaving for holiday.
Signed-off-by: Keith Busch <keith.busch@intel.com>