// Rough size limit for a log segment. This is not a firm limit and there are
// no absolute guarantees on the size of a log segment.
-#define LOG_SEGMENT_SIZE (1 << 23)
+#define LOG_SEGMENT_SIZE (1 << 24)
#define HEADER_MAGIC 0x676f4c0a
#define FOOTER_MAGIC 0x2e435243
g_hash_table_insert(log->mmap_cache, GINT_TO_POINTER(log_seq), map);
+ g_print("Mapped log segment %d...\n", log_seq);
+
close(fd);
}