public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup 0/4] better handle lto9 format
@ 2023-12-12 11:32 Dominik Csapak
  2023-12-12 11:32 ` [pbs-devel] [PATCH proxmox-backup 1/4] tape: add optional timeout to wait_until_ready Dominik Csapak
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Dominik Csapak @ 2023-12-12 11:32 UTC (permalink / raw)
  To: pbs-devel

since lto9 formatting a tape does an non-optional 'media optimization'
pass, which can take up to 2 hours. For our 'fast format' we instead
now do our fallback mechanism of doing an 'ERASE' instead, and only
for a 'slow format' we actually call 'FORMAT'.

the last patch is only cosmetic, so that on a slow format the users
know that this takes place and can take a while.

Dominik Csapak (4):
  tape: add optional timeout to wait_until_ready
  tape: derive PartialEq and PartialOrd for TapeDensity
  tape: adapt format_media for LTO9+
  api: tape: add lto9 initialization message to task log

 pbs-api-types/src/tape/drive.rs |  2 +-
 pbs-tape/src/sg_tape.rs         | 25 +++++++++++++++++--------
 src/api2/tape/drive.rs          | 17 ++++++++++++++++-
 src/tape/drive/lto/mod.rs       |  2 +-
 4 files changed, 35 insertions(+), 11 deletions(-)

-- 
2.39.2




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-12 12:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-12 11:32 [pbs-devel] [PATCH proxmox-backup 0/4] better handle lto9 format Dominik Csapak
2023-12-12 11:32 ` [pbs-devel] [PATCH proxmox-backup 1/4] tape: add optional timeout to wait_until_ready Dominik Csapak
2023-12-12 11:32 ` [pbs-devel] [PATCH proxmox-backup 2/4] tape: derive PartialEq and PartialOrd for TapeDensity Dominik Csapak
2023-12-12 11:32 ` [pbs-devel] [PATCH proxmox-backup 3/4] tape: adapt format_media for LTO9+ Dominik Csapak
2023-12-12 11:32 ` [pbs-devel] [PATCH proxmox-backup 4/4] api: tape: add lto9 initialization message to task log Dominik Csapak
2023-12-12 12:37 ` [pbs-devel] applied: [PATCH proxmox-backup 0/4] better handle lto9 format Dietmar Maurer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal