public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
	Dominik Csapak <d.csapak@proxmox.com>
Subject: [pve-devel] applied: [PATCH storage 2/2] Diskmanage: extend wearout detection for SAS disk
Date: Tue, 15 Dec 2020 14:42:59 +0100	[thread overview]
Message-ID: <beae83c9-6b6f-8341-985b-4a89400f0873@proxmox.com> (raw)
In-Reply-To: <20201211135241.27957-2-d.csapak@proxmox.com>

On 11.12.20 14:52, Dominik Csapak wrote:
> for some controllers/disks there the line is
> Percentage used endurance indicator: x%
> 
> so extend the regex for that possibilty.
> We even had a test-case for SAS but did not notice we could extract
> that info from there...
> 
> Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
> ---
>  PVE/Diskmanage.pm                               | 4 ++--
>  test/disk_tests/sas/sda_smart_expected.json     | 3 ++-
>  test/disk_tests/sas_ssd/disklist_expected.json  | 2 +-
>  test/disk_tests/sas_ssd/sda_smart_expected.json | 3 ++-
>  4 files changed, 7 insertions(+), 5 deletions(-)
> 
>

applied, thanks!




  reply	other threads:[~2020-12-15 13:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-11 13:52 [pve-devel] [PATCH storage 1/2] tests: add ssd sas disk Dominik Csapak
2020-12-11 13:52 ` [pve-devel] [PATCH storage 2/2] Diskmanage: extend wearout detection for SAS disk Dominik Csapak
2020-12-15 13:42   ` Thomas Lamprecht [this message]
2020-12-15 13:42 ` [pve-devel] applied: [PATCH storage 1/2] tests: add ssd sas disk Thomas Lamprecht

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=beae83c9-6b6f-8341-985b-4a89400f0873@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=d.csapak@proxmox.com \
    --cc=pve-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