gfio: Add support for sending logs over the network

This is for things like bw log, latency logs, etc. We add
a new depedency, zlib, for this. The logs can be quite big and
the network is not necessarily super fast, so we compress them
using zlib.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/iolog.h b/iolog.h
index d00d00c..18d3c6c 100644
--- a/iolog.h
+++ b/iolog.h
@@ -21,10 +21,10 @@
  * A single data sample
  */
 struct io_sample {
-	unsigned long time;
-	unsigned long val;
-	enum fio_ddir ddir;
-	unsigned int bs;
+	uint64_t time;
+	uint64_t val;
+	uint32_t ddir;
+	uint32_t bs;
 };
 
 enum {
@@ -46,7 +46,7 @@
 	unsigned long max_samples;
 	struct io_sample *log;
 
-	int log_type;
+	unsigned int log_type;
 
 	/*
 	 * Windowed average, for logging single entries average over some