Skip to content

Commit 24bb45f

Browse files
committed
Merge tag 'nvme-5.10-2020-10-29' of git://git.infradead.org/nvme into block-5.10
Pull NVMe fixes from Christoph: "nvme updates for 5.10: - improve zone revalidation (Keith Busch) - gracefully handle zero length messages in nvme-rdma (zhenwei pi) - nvme-fc error handling fixes (James Smart) - nvmet tracing NULL pointer dereference fix (Chaitanya Kulkarni)" * tag 'nvme-5.10-2020-10-29' of git://git.infradead.org/nvme: nvmet: fix a NULL pointer dereference when tracing the flush command nvme-fc: remove nvme_fc_terminate_io() nvme-fc: eliminate terminate_io use by nvme_fc_error_recovery nvme-fc: remove err_work work item nvme-fc: track error_recovery while connecting nvme-rdma: handle unexpected nvme completion data length nvme: ignore zone validate errors on subsequent scans
2 parents 7cb6e22 + 3c3751f commit 24bb45f

File tree

5 files changed

+127
-178
lines changed

5 files changed

+127
-178
lines changed

drivers/nvme/host/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2125,7 +2125,7 @@ static int nvme_update_ns_info(struct nvme_ns *ns, struct nvme_id_ns *id)
21252125

21262126
if (blk_queue_is_zoned(ns->queue)) {
21272127
ret = nvme_revalidate_zones(ns);
2128-
if (ret)
2128+
if (ret && !nvme_first_scan(ns->disk))
21292129
return ret;
21302130
}
21312131

0 commit comments

Comments
 (0)