Improve the reading back of objects committed to the journal.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Tue, 3 Aug 2010 21:10:21 +0000 (14:10 -0700)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Tue, 3 Aug 2010 21:10:21 +0000 (14:10 -0700)
commite6135fbeca4bbedd24b5f8c55fb765a97bdc78ad
tree40ca0428016e225edb5312db83b946fc3d933949
parente49fed25d000a51b316b480c1bfb1b00c1f5d345
Improve the reading back of objects committed to the journal.

Implement a cache of memory-mapped log files so that when multiple objects
are requested we can re-use the mapping.  Make log files fixed sizes (call
ftruncate when opening the log file) so the entire thing can be memory
mapped at the start.
bluesky/bluesky-private.h
bluesky/file.c
bluesky/log.c
bluesky/util.c