All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lexington Luthor <Lexington.Luthor@gmail.com>
To: reiserfs-list@namesys.com
Subject: Re: COW files
Date: Sat, 29 Oct 2005 14:49:55 +0100	[thread overview]
Message-ID: <djvum7$6d7$1@sea.gmane.org> (raw)
In-Reply-To: <43636C13.5040307@slaphack.com>

David Masover wrote:
> Gregory Maxwell wrote:
> 
>> Files could be COWed by a flag on the cp command (or really, perhaps
>> that should be the default behavior) or with a utility (perhaps run as
>> a periodic script to locate duplicates and COW them. This would
>> greatly speed up the process of copying files.
> 
> Should be on the cp command, but you have to change the cp source for
> that, and everything implementing "copy", including desktop managers.
> There's currently no "copy" system call.  So it's more than just a plugin.
> 

I would love something like this for entire directory trees. Perhaps 
with a reiser4 specific tool that does a COW cp -al.

At the moment, I have to cp -al and use a userspace solution 
(LD_PRELOADed library which traps the open call) to get working COW on 
reiser4.

I am not concerned too much with space usage, but speed is very 
important. This is usually not a problem with reiser4 because it so 
rarely hits the disk with COW trees.

- LL


  reply	other threads:[~2005-10-29 13:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-29  8:01 COW files Gregory Maxwell
2005-10-29 12:33 ` David Masover
2005-10-29 13:49   ` Lexington Luthor [this message]
2005-10-29 14:30     ` David Masover
2005-10-29 15:22       ` Lexington Luthor
2005-10-29 16:13 ` Hans Reiser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='djvum7$6d7$1@sea.gmane.org' \
    --to=lexington.luthor@gmail.com \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.