From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 14C2287D7 for ; Tue, 22 Aug 2023 10:51:45 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E38C49D5C for ; Tue, 22 Aug 2023 10:51:14 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Tue, 22 Aug 2023 10:51:13 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 33D4F4325D for ; Tue, 22 Aug 2023 10:51:13 +0200 (CEST) Message-ID: <6bb80a95-c092-4e9c-856b-8b410db41033@proxmox.com> Date: Tue, 22 Aug 2023 10:51:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: de-AT, en-US To: pve-devel@lists.proxmox.com References: <20230821134444.620021-1-l.wagner@proxmox.com> <20230821134444.620021-8-l.wagner@proxmox.com> From: Lukas Wagner In-Reply-To: <20230821134444.620021-8-l.wagner@proxmox.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.038 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [RFC pve-storage 7/7] stats: api: cache storage plugin status X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2023 08:51:45 -0000 On 8/21/23 15:44, Lukas Wagner wrote: > + my $status_cache = PVE::RS::Cache->pvestatd_cache(); Urgh, just noticed that I seemingly have forgotten to commit a refactoring step in `pve-storage`. Should be `Proxmox::RS::SharedCache->new("/run/pvestatd-cache")` Everything else should be the same, and as this is just an RFC to get feedback on the approach, it shouldn't matter that much ;) -- - Lukas