]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: add passthru ZNS support
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Tue, 22 Sep 2020 21:17:18 +0000 (14:17 -0700)
committerChristoph Hellwig <hch@lst.de>
Sun, 27 Sep 2020 07:14:19 +0000 (09:14 +0200)
commit6ed9708c0b7777d1d7eb567bfe3c7ae293fc69b6
treec94d913739d91dc407aebd18bd654baaa4638ce5
parentb0ea402d77cf48081e205474b5d8bf81e191fd92
nvmet: add passthru ZNS support

In the default passthru implementation NVMeOF target passthru ctrl is
not capable of handling Zoned Namespaces (ZNS).

Update the nvmet_parse_pasthru_admin_cmd() to allow
NVME_ID_CNS_CS_CTRL/NVME_CIS_ZNS and NVME_ID_CNS_CS_NS/NVME_CIS_ZNS.

With this addition NVMeOF Passthru allows Zoned Namespaces.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/passthru.c