Skip to content

RFC nvme: add passthrough admin error logging opt-in

Alan Adamson linux-nvme 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 RFC Latest1 patch 5 repliesIn review
  2. v3 RFC1 patch 12 repliesSuperseded
  3. v2 RFC3 patches 13 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC2 patches3 repliesSuperseded

Changes in v4 from the cover letter

- Change sysfs attribute to passthru_admin_err_logging
- Only log passthrough admin commands. IO passthrough commands will always be logged.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1nvme: add passthrough admin error logging opt-indrivers/nvme/host/core.c drivers/nvme/host/nvme.h+93 -54 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

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

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(-)
Signature · 1 line
2.31.1