nvmet: add metadata characteristics for a namespace
authorIsrael Rukshin <israelr@mellanox.com>
Tue, 19 May 2020 14:05:57 +0000 (17:05 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 27 May 2020 05:12:39 +0000 (07:12 +0200)
commitd2d1c454a4a44010cac627fd63945ff5e7dd3b4c
treef02cfbade806ae34864f8ebd4c9969c0a1a81326
parent5ec5d3bddc6b912b7de9e3eb6c1f2397faeca2bc
nvmet: add metadata characteristics for a namespace

Fill those namespace fields from the block device format for adding
metadata (T10-PI) over fabric support with block devices.

Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/Kconfig
drivers/nvme/target/io-cmd-bdev.c
drivers/nvme/target/nvmet.h