[PATCH 2/3] nvme: split the nvme queue lock into submission and completion locks

Christoph Hellwig hch at infradead.org
Thu May 17 08:33:11 PDT 2018


> -	spin_lock_irq(&nvmeq->q_lock);
> +	spin_lock_irq(&nvmeq->sq_lock);
>  	__nvme_submit_cmd(nvmeq, &cmnd);
> -	spin_unlock_irq(&nvmeq->q_lock);
> +	spin_unlock_irq(&nvmeq->sq_lock);

I don't think we need to disable irqs here anymore.



More information about the Linux-nvme mailing list