nvme.h: resync with nvme-cli
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Sep 2016 11:51:06 +0000 (13:51 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 19 Oct 2016 17:36:22 +0000 (11:36 -0600)
commita446c0840e244f34c22cc13b3a62d50aa51fb4c6
tree630552bbc079830c5d18c8a7dbe2cfb2f653d4bd
parent8ef2074d28373014d05e92b5f13364ef51075b6e
nvme.h: resync with nvme-cli

Import a few updates to nvme.h from nvme-cli.  This mostly includes a few
new fields and error codes, but also a few renames that so far are only
used in user space.  Also one field is moved from an array of two le64
values to one of 16 u8 values so that we can more easily access it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/target/admin-cmd.c
drivers/nvme/target/discovery.c
include/linux/nvme.h