From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <a.lauterer@proxmox.com> 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 F1A328802 for <pve-devel@lists.proxmox.com>; Tue, 22 Aug 2023 11:04:59 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D44349F6C for <pve-devel@lists.proxmox.com>; Tue, 22 Aug 2023 11:04:59 +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 <pve-devel@lists.proxmox.com>; Tue, 22 Aug 2023 11:04:58 +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 1982543276 for <pve-devel@lists.proxmox.com>; Tue, 22 Aug 2023 11:04:58 +0200 (CEST) From: Aaron Lauterer <a.lauterer@proxmox.com> To: pve-devel@lists.proxmox.com Date: Tue, 22 Aug 2023 11:04:54 +0200 Message-Id: <20230822090456.929773-1-a.lauterer@proxmox.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.084 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [diskmanage.pm, disks.pm] Subject: [pve-devel] [PATCH storage/widget-toolkit 0/2] List all OSDs on disk X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com> List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe> List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/> List-Post: <mailto:pve-devel@lists.proxmox.com> List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help> List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe> X-List-Received-Date: Tue, 22 Aug 2023 09:05:00 -0000 It is possible to have multiple OSD daemons on a single disk. This is useful if fast NVME drives are used to utilize their full potential. For these situations we want to list all OSD daemons that are located on the disk in the disk panel of the node. I added a new 'osdid-list' parameter to the Disks GET API endpoint for this. We can probably deprecate/remove the 'osdid' the next time we can introduce breaking API changes. storage: Aaron Lauterer (1): disks: get: add osdid-list return parameter src/PVE/API2/Disks.pm | 6 +++- src/PVE/Diskmanage.pm | 10 ++++++ .../disk_tests/cciss/disklist_expected.json | 1 + .../hdd_smart/disklist_expected.json | 2 ++ .../nvme_smart/disklist_expected.json | 1 + .../disk_tests/sas/disklist_expected.json | 1 + .../disk_tests/sas_ssd/disklist_expected.json | 1 + .../ssd_smart/disklist_expected.json | 5 +++ .../disk_tests/usages/disklist_expected.json | 32 +++++++++++++------ 9 files changed, 49 insertions(+), 10 deletions(-) widget-toolkit: Aaron Lauterer (1): DiskList: render osdid-list if present src/panel/DiskList.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.39.2