Commit Briefs

f6912001af Stefan Sperling

spawn more pack file helpers again now that leaks got fixed

/usr/src updates have become slower for some reason and my best guess is that caching of packed data has become less effective with df613bb4d8662c28a9888714a80ca572bff9d924 (leaks were subsequently fixed by 2cb49fa8fb84f3a8fc2eb6036a6bd9b64c57e347 and by 0dd5271bd8f2a4f92ac3536fcc493eebc39b86e5)


df613bb4d8 Stefan Sperling

fork less pack file readers to avoid running into ulimits




05e1230b0e Stefan Sperling

rename got_commit_object_mini to got_mini_commit_object


e32baab7e1 Stefan Sperling

add an object cache for mini commits


eb46335738 Stefan Sperling

reduce pack cache size; avoids opening more than 128 fds


6bef87be90 Stefan Sperling

move object cache out of repository.c to its own file


876c234bd6 Stefan Sperling

start reading pack files with privsep; still WIP


1510f46981 Stefan Sperling

move pack caching code from pack.c to repository.c


3516b818d9 Stefan Sperling

init ibuf only once for the lifetime of a privsep child


ad242220ad Stefan Sperling

implement fork+exec (and by the way, fix the build...)


eb77ee116a Stefan Sperling

add an object id cache which backs the object cache


0a554478f1 Stefan Sperling

reduce object cache sizes


4307e57760 Stefan Sperling

size object caches independently of each other


1943de0147 Stefan Sperling

add a commit cache as well


a9bf0c2c43 Stefan Sperling

no need to manually count elements of a set


f6be5c308a Stefan Sperling

add a tree object cache to struct got_repository


54f20211c5 Stefan Sperling

introduce struct got_object_cache


ebfa99d6a2 Stefan Sperling

remove unused field of struct got_objcache_entry


50bc349d77 Stefan Sperling

implement repository object cache via object_idset


7bb0daa102 Stefan Sperling

add a very simple object cache


6fd11751dc Stefan Sperling

turns out on-disk path of pack file may not match its hash

Fixes reading a repo with a pack idx and file dated June 2011, where the filename does not contain the actual packfile SHA1.


6c6d3ed32e Stefan Sperling

fix obsolete comment in struct got_repository definition