[PATCH V3 5/8] nvme: use per controller timeout waits over depending on global default

Daniel Wagner dwagner at suse.de
Mon Apr 27 02:22:54 PDT 2026


On Fri, Apr 10, 2026 at 09:39:21AM +0200, Maurizio Lombardi wrote:
> @@ -5253,7 +5254,7 @@ int nvme_wait_freeze_timeout(struct nvme_ctrl *ctrl, long timeout)
>  	list_for_each_entry_srcu(ns, &ctrl->namespaces, list,
>  				 srcu_read_lock_held(&ctrl->srcu)) {
>  		timeout = blk_mq_freeze_queue_wait_timeout(ns->queue, timeout);
> -		if (timeout <= 0)
> +		if (!timeout)
>  			break;

I'd suggest to drop this change, as it doesn't really belong to the
change itself.

Rest looks good.

Reviewed-by: Daniel Wagner <dwagner at suse.de>



More information about the Linux-nvme mailing list