summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-06-09 15:49:18 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-06-09 15:49:18 -0400
commitac545d4325ffae15a86fa19f67f182c6238550d9 (patch)
tree6565742a70d7c00d0bdf0e01242487ee6d8cfc58
parent781b116eb1726ea56f873ebc78c505b110b25284 (diff)
followup
-rw-r--r--doc/todo/use_CoW_capability___40__e.g._cp_--reflink__41___while_adjust_--unlock.mdwn2
-rw-r--r--doc/todo/use_CoW_capability___40__e.g._cp_--reflink__41___while_adjust_--unlock/comment_1_1663a02563e147d53ed57e58ef7fb9da._comment17
2 files changed, 19 insertions, 0 deletions
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 0eb304fa9..d9e9f79ba 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 000000000..bdaa128e2
--- /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
+<http://thread.gmane.org/gmane.comp.version-control.git/294425>
+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.
+"""]]