diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-03-26 01:47:54 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-04-09 05:12:33 +0300 |
commit | ba0f09b0dbd81f04d8621377c72a93ab1bd34ada (patch) | |
tree | 7982afd0ef8d5c86bb40e2c2c4ac9c3d50335785 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9972c02a806772f61ff0da7c3740be4ef0600553 (diff) | |
download | linux-ba0f09b0dbd81f04d8621377c72a93ab1bd34ada.tar.xz |
scsi: core: Improve the code for showing commands in debugfs
Some but not all command information is cleared by scsi_end_request().
As an example, if scsi_show_rq() is called after a SCSI command has been
allocated and before SCMD_INITIALIZED is set, .cmnd holds the CDB
of a previous command. Showing that information in debugfs is confusing.
Hence this patch that restricts the information shown in debugfs to
valid information.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240325224755.1477910-3-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions