nvme: let namespace probing continue for unsupported features
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Apr 2021 13:03:16 +0000 (15:03 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 15 Apr 2021 06:12:56 +0000 (08:12 +0200)
commita9e0e6bc728ebcfe9f6acdca84e5c6cafee895cf
tree3c4a7c33a0493dcfffecc2ac3ba9b86a7a734869
parentf5b9a51db29c31f4e486b08d1d823d6f75f2c2c7
nvme: let namespace probing continue for unsupported features

Instead of failing to scan the namespace entirely when unsupported
features are detected, just mark the gendisk hidden but allow other
access like the upcoming per-namespace character device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Javier González <javier.gonz@samsung.com>
drivers/nvme/host/core.c
drivers/nvme/host/zns.c