[PATCH] fix: nvme_update_ns_info method should be called even if nvme_ms_ids_equal return false

Christoph Hellwig hch at lst.de
Thu Apr 7 22:19:15 PDT 2022


On Fri, Apr 08, 2022 at 10:57:04AM +0800, me at kingtous.cn wrote:
> When nvme namespaced ids are not equal, we should also try to update namespace info, not just skip it.

This is, umm, od.  Can you do a:

	nvme id-ns /dev/nvme0n1

before and after a suspend to see what changed there?

(assuming you only have one controller with one namespace, else repeat
for each /dev/nvme*n* device)



More information about the Linux-nvme mailing list