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>,
	Alexandre Derumier <aderumier@odiso.com>
Subject: [pve-devel] applied:  [PATCH V2 pve-common] add get_pressure_stat
Date: Mon, 8 Feb 2021 16:07:20 +0100	[thread overview]
Message-ID: <1c7cbe1d-29e1-ab69-525f-032d1d59e167@proxmox.com> (raw)
In-Reply-To: <20210207133645.3254164-1-aderumier@odiso.com>

On 07.02.21 14:36, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
> ---
>  src/PVE/CGroup.pm | 42 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
> 
>

I now actually applied this patch, but followed up with two commits:

* unify parsing from host and cgroup pressure stats into a common sub
  in ProcFSTools

* return undef for the v1 controller case and the zeroed default $res
  if no path is found (i.e., vm/ct not running)

hope that works for you and I made no dumb error anywhere.




  parent reply	other threads:[~2021-02-08 15:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-07 13:36 [pve-devel] " Alexandre Derumier
2021-02-08 14:10 ` Thomas Lamprecht
2021-02-08 15:07 ` Thomas Lamprecht [this message]
2021-02-09 16:43   ` [pve-devel] applied: " aderumier

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=1c7cbe1d-29e1-ab69-525f-032d1d59e167@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=aderumier@odiso.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