comment and todo

This commit is contained in:
Joey Hess 2022-09-21 14:32:42 -04:00
parent d330c83e2c
commit 94216c99a7
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,17 @@
As seen in [[forum/Not_enough_free_space]], pulling
a commit that unlocks a lot of large files whose content is present in the
repository can result in an unexpected doubling of the disk space used by
git-annex.
annex.diskreserve avoids that using up the entire disk, but it's not
uncommon for users to not have it set, and the 1 mb default can easily
be eaten up by other non-object uses of disk.
Perhaps 1 mb is too small for the default for annex.diskreserve. Even
10 or 100 mb would leave a lot more margin for other minor uses of disk space.
Perhaps there could be another config like annex.diskreserve but that
applies only to populating unlocked files. It could default to some larger
size, like 1 gb. Probably most users are not going to want to populate
unlocked files when their disk space gets that low. Although, the same
could be argued about just getting files. --[[Joey]]