Commit 36ea9c61 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Fix up placement of root fifo. Addresses #1000, #1080, #1131.

git-svn-id: file:///svn/tokudb.1131b+1080a@6160 c7de825b-a66e-492c-adef-691d508d4ae1
parent 99ee25e0
......@@ -218,8 +218,8 @@ void toku_brtheader_free (struct brt_header *h) {
int toku_brtheader_close (CACHEFILE cachefile, void *header_v) {
struct brt_header *h = header_v;
printf("%s:%d allocated_limit=%lu writing queue to %lu\n", __FILE__, __LINE__,
block_allocator_allocated_limit(h->block_allocator), h->unused_blocks.b*h->nodesize);
//printf("%s:%d allocated_limit=%lu writing queue to %lu\n", __FILE__, __LINE__,
// block_allocator_allocated_limit(h->block_allocator), h->unused_blocks.b*h->nodesize);
if (h->dirty) {
toku_serialize_brt_header_to(toku_cachefile_fd(cachefile), h);
toku_serialize_fifo_at(toku_cachefile_fd(cachefile), block_allocator_allocated_limit(h->block_allocator), h->fifo);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment