From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 74F2D1FF0E5 for ; Wed, 29 Jul 2026 14:00:20 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 3C8CA2132E; Wed, 29 Jul 2026 14:00:20 +0200 (CEST) From: Maximiliano Sandoval To: pve-devel@lists.proxmox.com Subject: superseded: [PATCH manager] ceph: pool edit: set target ratio to 0 when the value is unset In-Reply-To: <20240306141458.472837-1-m.sandoval@proxmox.com> (Maximiliano Sandoval's message of "Wed, 6 Mar 2024 15:14:58 +0100") References: <20240306141458.472837-1-m.sandoval@proxmox.com> User-Agent: mu4e 1.12.9; emacs 30.1 Date: Wed, 29 Jul 2026 13:59:55 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1785326388970 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.218 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 2XMACB7HNXCEBFX6EPYKDGZGFORC5E6X X-Message-ID-Hash: 2XMACB7HNXCEBFX6EPYKDGZGFORC5E6X X-MailFrom: m.sandoval@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Maximiliano Sandoval writes: > If the pool has a target_size_ratio set it might be desirable to unset > its value, e.g. if set by mistake on .mgr. > > Currently unsetting the value won't do anything in the web UI. With this > patch it is set to zero, which the API correctly understands and unsets > it. > > one can verify the value set using > > $ ceph osd pool get target_size_ratio > > after setting the valut to 0 through the API it will output > > Error ENOENT: option 'target_size_ratio' is not set on pool 'cephfs-test_data' > > Signed-off-by: Maximiliano Sandoval Superseded-by: https://lore.proxmox.com/all/20260729102628.276253-1-m.sandoval@proxmox.com/T/#u -- Maximiliano