[PATCH v4 09/15] nvme: Implement cross-controller reset completion

Randy Jennings randyj at purestorage.com
Thu May 14 19:47:20 PDT 2026


On Fri, Mar 27, 2026 at 5:46 PM Mohamed Khalfella
<mkhalfella at purestorage.com> wrote:
>
> An nvme source controller that issues CCR command expects to receive an
> NVME_AER_NOTICE_CCR_COMPLETED when pending CCR succeeds or fails. Add
> sctrl->ccr_work to read NVME_LOG_CCR logpage and wakeup any thread
> waiting on CCR completion.
>
> Signed-off-by: Mohamed Khalfella <mkhalfella at purestorage.com>
> ---
> +       ret = nvme_get_log(ctrl, 0, NVME_LOG_CCR, 0x01,
> +                          0x00, log, sizeof(*log), 0);
The 0x01 is the log specific parameter.  0x01 sets the Remove Completed flag.
Please explain that in a comment (if not assigning it to a well named local/
defining a constant).

Sincerely,
Randy Jennings



More information about the Linux-nvme mailing list