[PATCH v3 12/18] nvme: add context annotations for nvme_queue::sq_lock

Christoph Hellwig hch at lst.de
Wed Jul 8 23:32:14 PDT 2026


On Mon, Jul 06, 2026 at 07:44:14PM +0530, Nilay Shroff wrote:
> +	/* Initialize unpublished lock-guarded variables. */
> +	context_unsafe(
> +		nvmeq->sq_tail = 0;
> +		nvmeq->last_sq_tail = 0;
> +	);

We'll still need to find a way to avoid this mess..




More information about the Linux-nvme mailing list