proxmox-backup/pbs-tape/src
Dietmar Maurer eb1cd24e21 pbs-tape: sgutils2: check sense data when status is 'CHECK_CONDITION'
Some raid controllers return a 'transport error' when we expected a
'sense error'. it seems the correct way to check the sense data is when
either the result category is 'SENSE' or when the status is 'CHECK_CONDITION',
so do that. (similar to how 'sg_raw' returns the errors)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2022-04-21 09:35:52 +02:00
..
bin pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
sg_tape pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
blocked_reader.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
blocked_writer.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
emulate_tape_reader.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
emulate_tape_writer.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
lib.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
linux_list_drives.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
sg_pt_changer.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
sg_tape.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00
sgutils2.rs pbs-tape: sgutils2: check sense data when status is 'CHECK_CONDITION' 2022-04-21 09:35:52 +02:00
tape_read.rs split tape code into new pbs_tape workspace 2021-09-13 12:54:59 +02:00
tape_write.rs pbs tape: rust fmt 2022-04-06 17:00:29 +02:00