nvmet: add support for reporting the host identifier
authorOmri Mann <omri@excelero.com>
Wed, 30 Aug 2017 12:22:59 +0000 (15:22 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 30 Aug 2017 13:05:18 +0000 (15:05 +0200)
commit28dd5cf70aaac2a12a16847ae0a978f0b0575194
treed8511097ef79536fa8f971e86ecb3c9f84d9d27e
parent63263d60e0f9f37bfd5e6a1e83a62f0e62fc459f
nvmet: add support for reporting the host identifier

And fix the Get/Set Log Page implementation to take all 8 bits of the
feature identifier into account.

Signed-off-by: Omri Mann <omri@excelero.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
[hch: used the UUID API, updated changelog]
drivers/nvme/target/admin-cmd.c
drivers/nvme/target/fabrics-cmd.c
drivers/nvme/target/nvmet.h