From: Eric Wong Date: Tue, 25 Aug 2020 03:02:45 +0000 (+0000) Subject: over: skip nodatacow on the journal X-Git-Tag: v1.6.0~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adf0f449f1ee7638423cdfe38e9f3f20754767fe;p=thirdparty%2Fpublic-inbox.git over: skip nodatacow on the journal This file gets truncated anyhow, so it won't fragment. --- diff --git a/lib/PublicInbox/Over.pm b/lib/PublicInbox/Over.pm index fba58d174..a2f041177 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: }