Obeying burn_set_scsi_logging() with errors of class RETRY
This commit is contained in:
parent
98b2e06c21
commit
d4e4607a84
@ -1 +1 @@
|
||||
#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)
|
||||
measurement. Then remove bit1 */
|
||||
scsi_log_err(c, fp, c->sense,
|
||||
sense_len > 0 ? sense_len : 18,
|
||||
0, (c->error != 0) | 2);
|
||||
0, 1 | 2);
|
||||
scsi_log_cmd(c,fp,0);
|
||||
}
|
||||
break;
|
||||
|
@ -698,7 +698,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c)
|
||||
/* >>> Need own duration time
|
||||
measurement. Then remove bit1 */
|
||||
scsi_log_err(c, fp, c->sense, 18, 0,
|
||||
(c->error != 0) | 2);
|
||||
1 | 2);
|
||||
scsi_log_cmd(c,fp,0);
|
||||
}
|
||||
break;
|
||||
|
@ -1922,7 +1922,7 @@ if(0){
|
||||
done = 0;
|
||||
if (burn_sg_log_scsi & 3) {
|
||||
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);
|
||||
}
|
||||
break;
|
||||
|
@ -653,7 +653,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c)
|
||||
/* >>> Need own duration time
|
||||
measurement. Then remove bit1 */
|
||||
scsi_log_err(c, fp, c->sense, 18, 0,
|
||||
(c->error != 0) | 2);
|
||||
1 | 2);
|
||||
scsi_log_cmd(c,fp,0);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user