[PATCH] nvme: scan sequentially only when list scan unsupported

Uday Shankar ushankar at purestorage.com
Mon Nov 7 11:29:16 PST 2022


On Mon, Nov 07, 2022 at 06:56:05AM +0100, Christoph Hellwig wrote:
> Maybe make this a bit more clear by lifting the nvme_ctrl_limited_cns
> check into nvme_scan_work, though:
> 
> 	if (nvme_ctrl_limited_cns(ctrl))
> 		nvme_scan_ns_sequential(ctrl);
> 	else
> 		nvme_scan_ns_list(ctrl);
> 
> and drop the now superflous error return from nvme_scan_ns_list.

Sure. I will resubmit with that revision.



More information about the Linux-nvme mailing list