Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Michał Górny <mgorny@g.o>
Subject: Re: Re: proj/portage:master commit in: pym/portage/dbapi/
Date: Sat, 26 Nov 2011 16:09:36 +0100
On Sat, 26 Nov 2011 08:44:28 -0500
Rich Freeman <rich0@g.o> 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 [1].

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
anyway.

[1]:https://github.com/mgorny/atomic-install

-- 
Best regards,
Michał Górny
Attachment:
signature.asc (PGP signature)
Replies:
Re: Re: proj/portage:master commit in: pym/portage/dbapi/
-- Rich Freeman
References:
Re: proj/portage:master commit in: pym/portage/dbapi/
-- Fabian Groffen
Re: Re: proj/portage:master commit in: pym/portage/dbapi/
-- Nirbheek Chauhan
Re: proj/portage:master commit in: pym/portage/dbapi/
-- Nirbheek Chauhan
Re: Re: proj/portage:master commit in: pym/portage/dbapi/
-- Ciaran McCreesh
Re: Re: proj/portage:master commit in: pym/portage/dbapi/
-- Rich Freeman
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: proj/portage:master commit in: pym/portage/dbapi/
Next by thread:
Re: Re: proj/portage:master commit in: pym/portage/dbapi/
Previous by date:
Re: Re: proj/portage:master commit in: pym/portage/dbapi/
Next by date:
Re: RFC: Gentoo News file about GNOME 3.2's unmasking


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.