added suggestion: option to put temp files on a RAM disk

This commit is contained in:
Ilya_Shlyakhter 2020-01-27 18:24:44 +00:00 committed by admin
parent 9dd0de11eb
commit 2b1357bcc8

View file

@ -0,0 +1,3 @@
Add an option to give git-annex a path to a RAM disk, and an option to set the maximum space to be used there. git-annex often knows the size of the files it is downloading, since it's part of the key, so can determine in advance if a tempfile of that size would fit on the RAM disk. One could instead symlink `.git/annex/tmp/` to a RAM disk, but this could cause memory overflow if a large file is transferred.
Related: [[todo/keep_git-annex_branch_checked_out__63__]], [[todo/transitive_transfers]]