diff options
author | Christoph Hellwig <hch@lst.de> | 2022-07-21 07:56:35 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-02 17:22:51 -0600 |
commit | e06b425bc835ead08b9fd935bf5e47eef473e7a0 (patch) | |
tree | 4507388e6d1514f119ac653eba5c8a653a21f8b5 /usr | |
parent | 4cf42ec36673707acefcddbdc21da8d6a61ac5a2 (diff) | |
download | linux-e06b425bc835ead08b9fd935bf5e47eef473e7a0.tar.bz2 |
nvme: catch -ENODEV from nvme_revalidate_zones again
nvme_revalidate_zones can also return -ENODEV if e.g. zone sizes aren't
constant or not a power of two. In that case we should jump to marking
the gendisk hidden and only support pass through.
Fixes: 602e57c9799c ("nvme: also mark passthrough-only namespaces ready in nvme_update_ns_info")
Reported-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Joel Granados <j.granados@samsung.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions