[RFC PATCH 09/14] nvme: Implement cross-controller reset completion

Sagi Grimberg sagi at grimberg.me
Sat Dec 27 02:24:17 PST 2025


> +	log = kmalloc(sizeof(*log), GFP_KERNEL);
> +	if (!log)
> +		return;
> +
> +	ret = nvme_get_log(ctrl, 0, NVME_LOG_CCR, 0x01,
> +			   0x00, log, sizeof(*log), 0);
> +	if (ret)
> +		goto out;
> +
> +	spin_lock_irqsave(&ctrl->lock, flags);
> +	for (i = 0; i < le16_to_cpu(log->ne); i++) {
> +		entry = &log->entries[i];
> +		if (entry->ccrs == 0)	/* skip in progress entries */
> +			continue;

What does ccrs stand for?



More information about the Linux-nvme mailing list