diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2010-01-03 21:51:15 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-01-18 19:48:16 +0300 |
commit | e7efe5932b1d3916c79326a4221693ea90a900e2 (patch) | |
tree | 37bee69043455a48a940ec9989b8e588d09cc245 /drivers/scsi/sym53c416.h | |
parent | 5d7ebb9c7a04d29efce1099024944dfd94d9f63c (diff) | |
download | linux-e7efe5932b1d3916c79326a4221693ea90a900e2.tar.xz |
[SCSI] skip sense logging for some ATA PASS-THROUGH cdbs
Further to the lsml thread titled:
"does scsi_io_completion need to dump sense data for ata pass through (ck_cond =
1) ?"
This is a patch to skip logging when the sense data is
associated with a SENSE_KEY of "RECOVERED_ERROR" and the
additional sense code is "ATA PASS-THROUGH INFORMATION
AVAILABLE". This only occurs with the SAT ATA PASS-THROUGH
commands when CK_COND=1 (in the cdb). It indicates that
the sense data contains ATA registers.
Smartmontools uses such commands on ATA disks connected via
SAT. Periodic checks such as those done by smartd cause
nuisance entries into logs that are:
- neither errors nor warnings
- pointless unless the cdb that caused them are also logged
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/sym53c416.h')
0 files changed, 0 insertions, 0 deletions