Skip to content

Show all commands in debugfs

Bart Van Assche linux-block linux-scsi stable 1 version Applied

Status from this message: Applied to 4.15/scsi-fixes. Thanks, Bart.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 8 repliesApplied

Changes in v2 from the cover letter

- Split the SCSI patch into two patches.
- Added the tag "Cc: stable" to two of the three patches.
- Included a change for the SCSI sd driver.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3scsi: Fix a scsi_show_rq() NULL pointer dereferencedrivers/scsi/scsi_debugfs.c drivers/scsi/sd.c+7 -37 replies
2/3blk-mq-debugfs: Also show requests that have not yet been startedblock/blk-mq-debugfs.c+1 -10 replies
3/3scsi-mq-debugfs: Show more informationdrivers/scsi/scsi_debugfs.c+38 -31 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Show all commands in debugfs

Hello Jens,

While debugging an issue with the SCSI error handler I noticed that commands that got stuck in that error handler are not shown in debugfs. That is very annoying for anyone who relies on the information in debugfs for root-causing such an issue. Hence this patch series that makes sure that commands that got stuck in a block driver timeout handler are also shown in debugfs. Please consider these patches for kernel v4.16.

Thanks,

Bart.

Changes compared to v1:
- Split the SCSI patch into two patches.
- Added the tag "Cc: stable" to two of the three patches.
- Included a change for the SCSI sd driver.

Bart Van Assche (3):
scsi: Fix a scsi_show_rq() NULL pointer dereference
blk-mq-debugfs: Also show requests that have not yet been started
scsi-mq-debugfs: Show more information

 block/blk-mq-debugfs.c      |  2 +-
 drivers/scsi/scsi_debugfs.c | 47 ++++++++++++++++++++++++++++++++++++++++-----
 drivers/scsi/sd.c           |  4 +++-
 3 files changed, 46 insertions(+), 7 deletions(-)
Signature · 1 line
2.15.0