[PATCH v2] nvme: scan sequentially only when list scan unsupported
Christoph Hellwig
hch at lst.de
Tue Nov 8 22:23:30 PST 2022
On Tue, Nov 08, 2022 at 04:41:20PM -0700, Keith Busch wrote:
> Looks fine, but I really don't look forward to finding out how many
> devices, if any, were secretly relying on this fallback.
I'm a little worried as well. Maybe we can whitelist a few status
codes as suggestions that a device might just be a broken. I.e.
"NVME_INVALID_FIELD | NVME_DNR" would very much be an indicator of tat.
Also Uday, the return value from nvme_scan_ns_list can and should be
dropped now.
More information about the Linux-nvme
mailing list