Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | tweak | Joey Hess | 2012-06-15 |
| | |||
* | race avoidance | Joey Hess | 2012-06-15 |
| | | | | When there are duplicate add events for the same file, only add it once. | ||
* | fix pid file writing | Joey Hess | 2012-06-15 |
| | | | | need to truncate, or part of previous longer pid may be left after writing | ||
* | can't wait for LinkChanges specifically | Joey Hess | 2012-06-15 |
| | | | | | | | | There is indeed a race waiting for LinkChanges: 1. file annexed, link made 2. link deleted 3. inotify event for link creation runs, but as link is gone, handler is not run | ||
* | continued work on deferred addding | Joey Hess | 2012-06-15 |
| | |||
* | preliminary deferring of file adds to commit time | Joey Hess | 2012-06-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Defer adding files to the annex until commit time, when during a batch operation, a bundle of files will be available. This will allow for checking a them all with a single lsof call. The tricky part is that adding the file causes a symlink change inotify. So I made it wait for an appropriate number of symlink changes to be received before continuing with the commit. This avoids any delay in the commit process. It is possible that some unrelated symlink change is made; if that happens it'll commit it and delay committing the newly added symlink for 1 second. This seems ok. I do rely on the expected symlink change event always being received, but only when the add succeeds. Another way to do it might be to directly stage the symlink, and then ignore the redundant symlink change event. That would involve some redundant work, and perhaps an empty commit, but if this code turns out to have some bug, that'd be the best way to avoid it. FWIW, this change seems to, as a bonus, have produced better grouping of batch changes into single commits. Before, a large batch change would result in a series of commits, with the first containing only one file, and each of the rest bundling a number of files. Now, the added wait for the symlink changes to arrive gives time for additional add changes to be processed, all within the same commit. | ||
* | catch IO exceptions in runThreadState | Joey Hess | 2012-06-15 |
| | | | | | | | | | A few places catch IO errors after calling runThreadState, but since the MVar was not restored, it'd later deadlock trying to read from it. I'd like to catch all exceptions here, but I could not get the types to unify. | ||
* | Merge branch 'master' into watch | Joey Hess | 2012-06-15 |
|\ | |||
* | | add lsof interface | Joey Hess | 2012-06-15 |
| | | | | | | | | Uses lsof -F0 to get machine-readable output | ||
| * | move | Joey Hess | 2012-06-15 |
| | | |||
| * | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2012-06-15 |
| |\ | |||
| | * | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus | 2012-06-15 |
| | | | |||
| | * | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus | 2012-06-15 |
| | | | |||
| | * | (no commit message) | http://denis.laxalde.org/ | 2012-06-15 |
| | | | |||
| * | | not bash specific | Joey Hess | 2012-06-15 |
| | | | |||
| | * | Added a comment | http://joeyh.name/ | 2012-06-15 |
| |/ | |||
| * | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2012-06-15 |
| |\ | |||
| * | | fix make-sdist to omit too long filenames | Joey Hess | 2012-06-15 |
| | | | |||
* | | | add | Joey Hess | 2012-06-15 |
| | | | |||
| | * | Added a comment: Error when installing from Hackage | https://www.google.com/accounts/o8/id?id=AItOawmURXBzaYE1gmVc-X9eLAyDat_6rHPl670 | 2012-06-15 |
| |/ | |||
| * | quarantine idea to avoid repeated lsof calls | Joey Hess | 2012-06-15 |
| | | |||
| * | Added a comment | http://joeyh.name/ | 2012-06-15 |
| | | |||
| * | Added a comment | http://joeyh.name/ | 2012-06-15 |
| | | |||
| * | Added a comment | https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U | 2012-06-15 |
| | | |||
| * | Added a comment: Battery usage | https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U | 2012-06-15 |
| | | |||
| * | Added a comment | https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus | 2012-06-15 |
| | | |||
| * | Added a comment: filesystem number of open file handles on a file | http://dieter-be.myopenid.com/ | 2012-06-15 |
| | | |||
| * | Added a comment: os compatibility | http://wiggy.net/ | 2012-06-15 |
| | | |||
| * | add news item for git-annex 3.20120614 | Joey Hess | 2012-06-14 |
| | | |||
| * | releasing version 3.201206143.20120614 | Joey Hess | 2012-06-14 |
| | | |||
| * | addurl: Was broken by a typo introduced 2 released ago, now fixed. Closes: ↵ | Joey Hess | 2012-06-14 |
| | | | | | | | | #677576 | ||
| * | blog for the day | Joey Hess | 2012-06-14 |
| | | |||
| * | hard problems are fun? | Joey Hess | 2012-06-14 |
| | | |||
| * | typo | Joey Hess | 2012-06-14 |
| | | |||
* | | fishy commit | Joey Hess | 2012-06-14 |
| | | |||
* | | update | Joey Hess | 2012-06-13 |
| | | |||
* | | Merge branch 'master' into watch | Joey Hess | 2012-06-13 |
|\| | |||
| * | typo | Joey Hess | 2012-06-13 |
| | | |||
| * | blog for the day | Joey Hess | 2012-06-13 |
| | | |||
* | | check for unstaged old symlinks in the sanity checker | Joey Hess | 2012-06-13 |
| | | |||
* | | add sanity checker thread | Joey Hess | 2012-06-13 |
| | | | | | | | | Currently wakes up once a day, and does nothing. :) | ||
* | | slightly higher-level thread scheduling code | Joey Hess | 2012-06-13 |
| | | | | | | | | | | Including support for unbound thread sleeping. Haskell's max thread sleep is 37 minutes, due to maxBound Int! | ||
* | | lsof | Joey Hess | 2012-06-13 |
| | | |||
| * | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2012-06-13 |
| |\ | |||
| * | | bug | Joey Hess | 2012-06-13 |
| | | | |||
* | | | tweak | Joey Hess | 2012-06-13 |
| | | | |||
* | | | Merge branch 'master' into watch | Joey Hess | 2012-06-13 |
|\| | | |||
* | | | finish daemon status thread | Joey Hess | 2012-06-13 |
| | | | |||
* | | | implement daemon status serialization to a file | Joey Hess | 2012-06-13 |
| | | | | | | | | | | | | | | | Also afterLastDaemonRun, with 10 minute slop to handle majority of clock skew issues. | ||
* | | | reorganize | Joey Hess | 2012-06-13 |
| | | |