GNU bug report logs - #41944
cp: default to --reflink=auto, revisted

Previous Next

Package: coreutils;

Reported by: Chris Murphy <lists <at> colorremedies.com>

Date: Fri, 19 Jun 2020 01:55:02 UTC

Severity: wishlist

Merged with 24400

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Chris Murphy <lists <at> colorremedies.com>
Subject: bug#41944: closed (Re: bug#41944: cp: default to --reflink=auto,
 revisted)
Date: Fri, 19 Jun 2020 05:40:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#41944: cp: default to --reflink=auto, revisted

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 41944 <at> debbugs.gnu.org.

-- 
41944: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41944
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Chris Murphy <lists <at> colorremedies.com>, 41944-done <at> debbugs.gnu.org
Subject: Re: bug#41944: cp: default to --reflink=auto, revisted
Date: Thu, 18 Jun 2020 22:39:11 -0700
[Message part 3 (text/plain, inline)]
Thanks, I'd forgotten that. The performance improvement is long overdue, so I
installed the attached.
[0001-cp-default-to-COW.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Chris Murphy <lists <at> colorremedies.com>
To: bug-coreutils <at> gnu.org
Subject: cp: default to --reflink=auto, revisted
Date: Thu, 18 Jun 2020 19:54:38 -0600
Hi,

The most recent discussion I found about this:
https://lists.gnu.org/archive/html/bug-coreutils/2016-09/msg00015.html

It's definitely currently never.
https://github.com/coreutils/coreutils/blob/master/src/cp.c#L796

However for mv, it is used (which I understand it's a different thing,
the optimization for cp+rm makes even more sense than for cp alone).
https://github.com/coreutils/coreutils/blob/master/src/mv.c#L113

Thanks,

-- 
Chris Murphy



This bug report was last modified 5 years and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.