summaryrefslogtreecommitdiff
path: root/doc/todo/incremental_fsck.mdwn
blob: ac6ef1e42a439e6dd009e103e4af5f7934726b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
Justin Azoff realized git-annex should have an incremental fsck.

This requires storing the last fsck time of each object.

I would not be strongly opposed to sqlite, but I think there are other
places the data could be stored. One possible place is the mode or mtime
of the .git/annex/objects/xx/yy/$key directories (the parent directories
of where the content is stored). Perhaps the sticky bit could be used to
indicate the content has been fsked, and the mtime indicate the time
of last fsck. Anything that dropped or put in content would need to
clear the sticky bit. --[[Joey]]