git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry D'Anna <larry@elder-gods.org>
To: git@vger.kernel.org
Subject: brtfs COW links and git
Date: Sat, 19 Mar 2011 16:15:32 -0400	[thread overview]
Message-ID: <20110319201532.GA6862@cthulhu> (raw)


I wish git could use COW links.  I wish I could put a large binary into git and
have the only underlying filesystem operation be to cp --reflink and to save the
metadata.  There are a few complications:

How does it know which files to reflink?  attributes?  a size limit?

What does git gc do with reflinks?

Should diff-delta be reflink-aware?  Perhaps it could query the fs for
blocklists.

Before I dive into implementing this, I'd like to get your comments and advice,
to maximize the chances of success.  

Thanks!

             reply	other threads:[~2011-03-19 20:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-19 20:15 Larry D'Anna [this message]
2011-03-21 12:00 ` brtfs COW links and git Jeff King
2011-03-22  2:44   ` Larry D'Anna
2011-03-22 11:43     ` Jeff King

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=20110319201532.GA6862@cthulhu \
    --to=larry@elder-gods.org \
    --cc=git@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).