public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [RFC v4 0/1] nvme: add passthrough admin error logging opt-in
@ 2023-04-06 21:55 Alan Adamson
  2023-04-06 21:55 ` [RFC v4 1/1] " Alan Adamson
  2023-04-07  4:46 ` [RFC v4 0/1] " Chaitanya Kulkarni
  0 siblings, 2 replies; 7+ messages in thread
From: Alan Adamson @ 2023-04-06 21:55 UTC (permalink / raw)
  To: linux-nvme; +Cc: alan.adamson, kbusch, hch, sagi

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(-)

-- 
2.31.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-04-09 21:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-06 21:55 [RFC v4 0/1] nvme: add passthrough admin error logging opt-in Alan Adamson
2023-04-06 21:55 ` [RFC v4 1/1] " Alan Adamson
2023-04-07  4:45   ` Chaitanya Kulkarni
2023-04-07  7:48     ` hch
2023-04-07 17:48       ` Chaitanya Kulkarni
2023-04-09 21:32       ` Chaitanya Kulkarni
2023-04-07  4:46 ` [RFC v4 0/1] " Chaitanya Kulkarni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox