mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 13:11:27 +00:00
Minor logging improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5706 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -5093,8 +5093,11 @@ static void scst_complete_request_sense(struct scst_cmd *req_cmd)
|
||||
if (scsi_status_is_good(req_cmd->status) && (len > 0) &&
|
||||
scst_sense_valid(buf)) {
|
||||
TRACE(TRACE_SCSI|TRACE_MGMT_DEBUG, "REQUEST SENSE %p returned "
|
||||
"valid sense", req_cmd);
|
||||
"valid sense (orig cmd %s)", req_cmd, orig_cmd->op_name);
|
||||
PRINT_BUFF_FLAG(TRACE_SCSI|TRACE_MGMT_DEBUG, "Sense", buf, len);
|
||||
if (!scst_no_sense(buf))
|
||||
PRINT_WARNING("REQUEST SENSE returned NO SENSE (orig "
|
||||
"cmd %s)", orig_cmd->op_name);
|
||||
scst_alloc_set_sense(orig_cmd, scst_cmd_atomic(req_cmd),
|
||||
buf, len);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user