Reporting in SCSI log when commands get repeated

This commit is contained in:
Thomas Schmitt 2018-02-05 11:37:20 +01:00
parent 84fad99eba
commit c84889bb81
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2018.02.05.103304" #define Cdrskin_timestamP "2018.02.05.103650"

View File

@ -2231,6 +2231,10 @@ int sg_issue_command(struct burn_drive *d, struct command *c)
if (d->cancel) if (d->cancel)
break; break;
/* if ! done : loop for retry */; /* if ! done : loop for retry */;
if (!done && (burn_sg_log_scsi & 3)) {
scsi_log_text("+++ Repeating command", fp, 0);
scsi_log_cmd(c, fp, 0);
}
} }
ret = 1; ret = 1;