Commit d4e4607a authored by Thomas Schmitt's avatar Thomas Schmitt

Obeying burn_set_scsi_logging() with errors of class RETRY

parent 98b2e06c
#define Cdrskin_timestamP "2010.08.02.141233" #define Cdrskin_timestamP "2010.08.03.091119"
...@@ -966,7 +966,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c) ...@@ -966,7 +966,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c)
measurement. Then remove bit1 */ measurement. Then remove bit1 */
scsi_log_err(c, fp, c->sense, scsi_log_err(c, fp, c->sense,
sense_len > 0 ? sense_len : 18, sense_len > 0 ? sense_len : 18,
0, (c->error != 0) | 2); 0, 1 | 2);
scsi_log_cmd(c,fp,0); scsi_log_cmd(c,fp,0);
} }
break; break;
......
...@@ -698,7 +698,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c) ...@@ -698,7 +698,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c)
/* >>> Need own duration time /* >>> Need own duration time
measurement. Then remove bit1 */ measurement. Then remove bit1 */
scsi_log_err(c, fp, c->sense, 18, 0, scsi_log_err(c, fp, c->sense, 18, 0,
(c->error != 0) | 2); 1 | 2);
scsi_log_cmd(c,fp,0); scsi_log_cmd(c,fp,0);
} }
break; break;
......
...@@ -1922,7 +1922,7 @@ if(0){ ...@@ -1922,7 +1922,7 @@ if(0){
done = 0; done = 0;
if (burn_sg_log_scsi & 3) { if (burn_sg_log_scsi & 3) {
scsi_log_err(c, fp, s.sbp, s.sb_len_wr, scsi_log_err(c, fp, s.sbp, s.sb_len_wr,
s.duration, c->error != 0); s.duration, 1);
scsi_log_cmd(c,fp,0); scsi_log_cmd(c,fp,0);
} }
break; break;
......
...@@ -653,7 +653,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c) ...@@ -653,7 +653,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c)
/* >>> Need own duration time /* >>> Need own duration time
measurement. Then remove bit1 */ measurement. Then remove bit1 */
scsi_log_err(c, fp, c->sense, 18, 0, scsi_log_err(c, fp, c->sense, 18, 0,
(c->error != 0) | 2); 1 | 2);
scsi_log_cmd(c,fp,0); scsi_log_cmd(c,fp,0);
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment