git-annex/doc/todo/incremental_fsck.mdwn

25 lines
1.1 KiB
Text
Raw Normal View History

2012-09-19 16:00:06 +00:00
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]]
2012-09-25 19:32:13 +00:00
> Basic incremental fsck is done now.
>
> Some enhancements would include:
>
2012-09-25 19:53:07 +00:00
> * --max-age=30d Once the incremental fsck completes and was started 30 days ago,
2012-09-25 19:32:13 +00:00
> start a new one.
> * --time-limit --size-limit --file-limit: Limit how long the fsck runs.
2012-10-24 15:38:01 +00:00
>> Calling this [[done]]. The `--incremental-schedule` option
>> allows scheduling time between incremental fscks. `--time-limit` is
>> done. I implemented `--smallerthan` independently. Not clear what
>> `--file-limit` would be. --[[Joey]]