]> git.proxmox.com Git - proxmox-backup.git/commit
tape: disable Programmable Early Warning Zone (PEWZ)
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 10 Jun 2024 11:45:04 +0000 (13:45 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 11 Jun 2024 08:33:39 +0000 (10:33 +0200)
commitb7a6c5da065865bc3d08234d3c46715dc350f44f
tree4201f913171a3ae1388d1bd4d8919ce32e294b70
parent192d70bbe21e1a049dec2080789ddaba6277bdca
tape: disable Programmable Early Warning Zone (PEWZ)

since that leads to errors that we don't currently catch before we
reach the regular early warning on tape.

This can be read/set by the Device Configuration Extension Mode Page.
ignore errors on reading or writing, since it may not be available on
LTO-4

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
pbs-tape/src/sg_tape.rs