602baae12e
Fixed by storing a list of cached inodes for a key, instead of just one. Backwards compatability note: An old git-annex version will fail to parse an inode cache file that has been written by a new version, and has multiple items. It will succees if just one. So old git-annexes will have even worse behavior when there are duplicated files, if that is possible. I don't think it will be a problem. (Famous last words.) Also, note that it doesn't expire old and unused inode caches for a key. It would be possible to add this if needed; just look through the associated files for a key and if there are more cached inodes, throw out any not corresponding to associated files. Unless a file is being copied repeatedly and the old copy deleted, this lack of expiry should not be a problem. |
||
---|---|---|
.. | ||
assistant | ||
backends | ||
bare_repositories | ||
bugs | ||
design | ||
direct_mode | ||
download | ||
encryption | ||
footer | ||
forum | ||
install | ||
internals | ||
license | ||
links | ||
news | ||
not | ||
preferred_content | ||
special_remotes | ||
sync | ||
templates | ||
tips | ||
todo | ||
upgrades | ||
use_case | ||
users | ||
videos | ||
walkthrough | ||
assistant.mdwn | ||
backends.mdwn | ||
bare_repositories.mdwn | ||
bugs.mdwn | ||
coding_style.mdwn | ||
comments.mdwn | ||
contact.mdwn | ||
copies.mdwn | ||
design.mdwn | ||
direct_mode.mdwn | ||
distributed_version_control.mdwn | ||
download.mdwn | ||
encryption.mdwn | ||
favicon.ico | ||
feeds.mdwn | ||
forum.mdwn | ||
future_proofing.mdwn | ||
git-annex-shell.mdwn | ||
git-annex.mdwn | ||
git-union-merge.mdwn | ||
how_it_works.mdwn | ||
index.mdwn | ||
install.mdwn | ||
internals.mdwn | ||
license.mdwn | ||
location_tracking.mdwn | ||
logo-bw.svg | ||
logo.png | ||
logo.svg | ||
logo_small.png | ||
meta.mdwn | ||
news.mdwn | ||
not.mdwn | ||
preferred_content.mdwn | ||
related_software.mdwn | ||
repomap.png | ||
scalability.mdwn | ||
sidebar.mdwn | ||
sitemap.mdwn | ||
special_remotes.mdwn | ||
summary.mdwn | ||
sync.mdwn | ||
testimonials.mdwn | ||
tips.mdwn | ||
todo.mdwn | ||
transferring_data.mdwn | ||
trust.mdwn | ||
upgrades.mdwn | ||
users.mdwn | ||
videos.mdwn | ||
walkthrough.mdwn |