[PATCH] nvme: allow queues the chance to quiesce after freezing them

Jon Derrick jonathan.derrick at intel.com
Thu Nov 19 12:53:52 PST 2015


> -	writel(head, nvmeq->q_db + nvmeq->dev->db_stride);
> +	if (unlikely(!nvmeq->frozen))
> +		writel(head, nvmeq->q_db + nvmeq->dev->db_stride);

Oops... This last minute addition should have been a likely().




More information about the Linux-nvme mailing list