]> Sergey Matveev's repositories - public-inbox.git/commitdiff
over: skip nodatacow on the journal
authorEric Wong <e@yhbt.net>
Tue, 25 Aug 2020 03:02:45 +0000 (03:02 +0000)
committerEric Wong <e@yhbt.net>
Wed, 26 Aug 2020 06:10:50 +0000 (06:10 +0000)
This file gets truncated anyhow, so it won't fragment.

lib/PublicInbox/Over.pm

index fba58d174b98f7f61c300a623f1c280d119dbd3f..a2f0411776ac9f2b413aedbeb6daea72aa3273fc 100644 (file)
@@ -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:
                }