List Archive: gentoo-dev
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On Sat, 26 Nov 2011 08:44:28 -0500
Rich Freeman <firstname.lastname@example.org> wrote:
> Oh, on the topic of btrfs, if any emerge operations do file copies,
> adding --reflink=auto to the cp command will GREATLY improve
> performance. That does a copy-on-write copy - it behaves like a
> hard-link as far as time to create goes, but it behaves like a full
> copy as far as modifications not being shared goes. [...]
We don't rely on external tools to do the copying. AFAIR it uses
Python's shutil module which is rather poor. I'm slowly working on
creating atomic-install tool for merging this more optimally .
But in this particular case, I don't think COW is particularly useful.
If it works only on filesystem bounds, we could move the file directly