all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 0/4] better handle lto9 format
Date: Tue, 12 Dec 2023 12:32:44 +0100	[thread overview]
Message-ID: <20231212113248.159105-1-d.csapak@proxmox.com> (raw)

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




             reply	other threads:[~2023-12-12 11:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12 11:32 Dominik Csapak [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231212113248.159105-1-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal