[RFC v4 0/1] nvme: add passthrough admin error logging opt-in

Chaitanya Kulkarni chaitanyak at nvidia.com
Thu Apr 6 21:46:26 PDT 2023


On 4/6/23 14:55, Alan Adamson wrote:
> v4:
> - Change sysfs attribute to passthru_admin_err_logging
> - Only log passthrough admin commands.  IO passthrough commands will always be logged.
>
> v3:
> - Log a passthrough specific message that dumps CDW* contents.
> - Enable/disable vis sysfs rather than debugfs.
>
> v2:
> - Included Pankaj Raghav's patch 'nvme: ignore starting sector while error logging for passthrough requests'
>    with a couple changes.
> - Moved error_logging flag to nvme_ctrl structure
> - The entire nvme-debugfs.c does not need to be guarded by #ifdef CONFIG_FAULT_INJECTION_DEBUG_FS.
> - Use IS_ENABLED((CONFIG_NVME_ERROR_LOGGING_DEBUG_FS)) to determine if error logging should be
>    initialized.
> - Various other nits.
>
> Alan Adamson (1):
>    nvme: add passthrough admin error logging opt-in
>
>   drivers/nvme/host/core.c | 97 +++++++++++++++++++++++++++++++++++++---
>   drivers/nvme/host/nvme.h |  1 +
>   2 files changed, 93 insertions(+), 5 deletions(-)
>

I think it is safe to drop RFC for V5 :).

-ck




More information about the Linux-nvme mailing list