From: Dietmar Maurer <dietmar@proxmox.com>
To: Proxmox Backup Server development discussion
<pbs-devel@lists.proxmox.com>,
Dominik Csapak <d.csapak@proxmox.com>
Subject: [pbs-devel] applied: [PATCH proxmox-backup 0/4] tape: improve UX by showing device activity
Date: Tue, 14 May 2024 10:32:38 +0200 (CEST) [thread overview]
Message-ID: <1672578216.48.1715675558642@webmail.proxmox.com> (raw)
In-Reply-To: <20240513104926.3113394-1-d.csapak@proxmox.com>
applied
> On 13.5.2024 12:49 CEST Dominik Csapak <d.csapak@proxmox.com> wrote:
>
>
> Whenever an external activity is done on a tape drive (e.g. via `pmt`, a
> changer webui, or an automatic action like calibrating), most of our
> tape commands will hang and nothing on the webui is showing any
> activity.
>
> This is most annoying when loading new LTO-9 tapes into a drive, since
> it is blocked up to two hours, without any indication that work is done.
>
> This can be frustrating, so this series queries and shows the device
> activity from the drive when it's suitable.
>
> Dominik Csapak (4):
> tape: add functions to parse drive device activity
> tape: add drive activity to drive status api
> tape: drive status: make some depend on the activity
> tape: include drive activity in status
>
> pbs-api-types/src/tape/drive.rs | 71 ++++++++++++++++
> pbs-tape/src/sg_tape.rs | 62 +++++++++-----
> pbs-tape/src/sg_tape/device_status.rs | 99 +++++++++++++++++++++++
> pbs-tape/src/sg_tape/volume_statistics.rs | 8 +-
> src/api2/tape/drive.rs | 14 ++++
> www/Utils.js | 34 +++++++-
> www/tape/ChangerStatus.js | 11 ++-
> www/tape/DriveStatus.js | 6 +-
> 8 files changed, 278 insertions(+), 27 deletions(-)
> create mode 100644 pbs-tape/src/sg_tape/device_status.rs
>
> --
> 2.39.2
>
>
>
> _______________________________________________
> pbs-devel mailing list
> pbs-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
prev parent reply other threads:[~2024-05-14 8:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-13 10:49 [pbs-devel] " Dominik Csapak
2024-05-13 10:49 ` [pbs-devel] [PATCH proxmox-backup 1/4] tape: add functions to parse drive " Dominik Csapak
2024-05-13 10:49 ` [pbs-devel] [PATCH proxmox-backup 2/4] tape: add drive activity to drive status api Dominik Csapak
2024-05-13 10:49 ` [pbs-devel] [PATCH proxmox-backup 3/4] tape: drive status: make some depend on the activity Dominik Csapak
2024-05-13 10:49 ` [pbs-devel] [PATCH proxmox-backup 4/4] tape: include drive activity in status Dominik Csapak
2024-05-14 8:32 ` Dietmar Maurer [this message]
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=1672578216.48.1715675558642@webmail.proxmox.com \
--to=dietmar@proxmox.com \
--cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox