From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id AA94F1F4CC for ; Tue, 17 Dec 2024 21:27:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1734470857; bh=ckMn471dDwa6V5E07cT93bqAPTHUyf8i2o+3HvTcf9k=; h=From:To:Subject:Date:From; b=BGRhTQ/IbcsqYk+a2tIRry2PM5TpQ5aAP2Y9uSPYQAN2Zcyo2+rHl2qiwg4DLqcch Qzl2zBlxzgMyzLyCCzok5xbZusrM08Raxux0YJ51cPNuN/Fv+9y+VXZnvfBH8QKT2g +x4WSBgmy+m4HxNwIfmxXoYzrZd81CUcUPygryh4= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] v2: epoch reuse space calculation fix Date: Tue, 17 Dec 2024 21:27:35 +0000 Message-ID: <20241217212737.1255809-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Noticed while working on and extracted from a larger refactoring series which I'm still working on and requires thorough testing. Publishing 1/2 now just makes 2/2 smoother in this small series. Eric Wong (2): v2writable: simplify epoch directory generation import: fix space calculation when reusing epochs lib/PublicInbox/InboxWritable.pm | 7 ------- lib/PublicInbox/LeiStore.pm | 5 ++--- lib/PublicInbox/V2Writable.pm | 33 +++++++++++++++----------------- 3 files changed, 17 insertions(+), 28 deletions(-)