]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitedff5b2213b2bbd31f2a9e9ff9b396f3682b2803
tree3c4a7c33a0493dcfffecc2ac3ba9b86a7a734869
parente80974b11572765352311299b1dd91aea804e691
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