From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 5201A1F66F for ; Tue, 25 Aug 2020 03:02:47 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/3] over: skip nodatacow on the journal Date: Tue, 25 Aug 2020 03:02:45 +0000 Message-Id: <20200825030247.12307-2-e@yhbt.net> In-Reply-To: <20200825030247.12307-1-e@yhbt.net> References: <20200825030247.12307-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This file gets truncated anyhow, so it won't fragment. --- lib/PublicInbox/Over.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/PublicInbox/Over.pm b/lib/PublicInbox/Over.pm index fba58d17..a2f04117 100644 --- a/lib/PublicInbox/Over.pm +++ b/lib/PublicInbox/Over.pm @@ -21,9 +21,6 @@ sub dbh_new { require PublicInbox::Spawn; open my $fh, '+>>', $f or die "failed to open $f: $!"; PublicInbox::Spawn::nodatacow_fd(fileno($fh)); - my $j = "$f-journal"; - open $fh, '+>>', $j or die "failed to open $j: $!"; - PublicInbox::Spawn::nodatacow_fd(fileno($fh)); } else { $self->{filename} = $f; # die on stat() below: }