public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@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 v2] tape/drive: improve tape device locking behaviour
Date: Wed, 2 Jun 2021 17:09:03 +0200	[thread overview]
Message-ID: <a22ca548-bb9f-8baf-52b9-af895da242ac@proxmox.com> (raw)
In-Reply-To: <20210602121919.31852-1-d.csapak@proxmox.com>

On 02.06.21 14:19, Dominik Csapak wrote:
> by implementing a custom error type that is either 'TimeOut' or
> 'Other'.
> 
> In the api, check in the worker loop for exactly 'TimeOut' errors and continue only
> then. All other errors lead to a aborted task.
> 
> Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
> ---
> changes from v1:
> * implement custom error types, so that we can detect the one
>   special error condition more cleanly
> 
>  src/api2/tape/backup.rs | 14 +++++++++-----
>  src/tape/drive/mod.rs   | 34 +++++++++++++++++++++++++++++-----
>  2 files changed, 38 insertions(+), 10 deletions(-)
> 
>

applied, thanks!




      reply	other threads:[~2021-06-02 15:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02 12:19 [pbs-devel] " Dominik Csapak
2021-06-02 15:09 ` Thomas Lamprecht [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=a22ca548-bb9f-8baf-52b9-af895da242ac@proxmox.com \
    --to=t.lamprecht@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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal