From 0fa04f44709ff043987a08b726540e35a04affe0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 9 Jun 2016 15:49:18 -0400 Subject: [PATCH] followup --- ...p_--reflink__41___while_adjust_--unlock.mdwn | 2 ++ ..._1_1663a02563e147d53ed57e58ef7fb9da._comment | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 doc/todo/use_CoW_capability___40__e.g._cp_--reflink__41___while_adjust_--unlock/comment_1_1663a02563e147d53ed57e58ef7fb9da._comment diff --git a/doc/todo/use_CoW_capability___40__e.g._cp_--reflink__41___while_adjust_--unlock.mdwn b/doc/todo/use_CoW_capability___40__e.g._cp_--reflink__41___while_adjust_--unlock.mdwn index 0eb304fa94..d9e9f79ba8 100644 --- a/doc/todo/use_CoW_capability___40__e.g._cp_--reflink__41___while_adjust_--unlock.mdwn +++ b/doc/todo/use_CoW_capability___40__e.g._cp_--reflink__41___while_adjust_--unlock.mdwn @@ -1,3 +1,5 @@ I might be wrong but given the observation that adjust --unlock took 26.04s user 33.95s system 31% cpu 3:12.36 total to finish operation on an annex (on smaug, btrfs filesystem) with a relatively small (~400) number of relatively large files, I guess no reflink copying was done. [[!meta author="yoh"]] + +> [[dup|done]] --[[Joey]] diff --git a/doc/todo/use_CoW_capability___40__e.g._cp_--reflink__41___while_adjust_--unlock/comment_1_1663a02563e147d53ed57e58ef7fb9da._comment b/doc/todo/use_CoW_capability___40__e.g._cp_--reflink__41___while_adjust_--unlock/comment_1_1663a02563e147d53ed57e58ef7fb9da._comment new file mode 100644 index 0000000000..bdaa128e20 --- /dev/null +++ b/doc/todo/use_CoW_capability___40__e.g._cp_--reflink__41___while_adjust_--unlock/comment_1_1663a02563e147d53ed57e58ef7fb9da._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2016-06-09T19:44:14Z" + content=""" +Git's smudge interface requires git-annex to output the content to stdout; +git writes it to the file. So, git-annex does not have an opportunity to +efficiently copy the file. + +(All file copies in git-annex use cp --reflink) + +My proposed extended smudge interface at + +lets the smudge filter write the file to disk, and then git-annex could +use more efficient methods. Since this is already discussed in +[[todo/smudge]] I think I'll close this bug report as a duplicate. +"""]]