Reduce stack consumption in blktrace load
authorJens Axboe <jaxboe@fusionio.com>
Sun, 1 Aug 2010 19:27:28 +0000 (21:27 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sun, 1 Aug 2010 19:27:28 +0000 (21:27 +0200)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
blktrace.c

index cdbfea02edcdcfe03fbf77cdd7a6f79c0399b433..ef3e18fdfee0f2ff489e9e90852a25a209b26221 100644 (file)
@@ -10,7 +10,7 @@
 #include "fio.h"
 #include "blktrace_api.h"
 
 #include "fio.h"
 #include "blktrace_api.h"
 
-#define TRACE_FIFO_SIZE        65536
+#define TRACE_FIFO_SIZE        8192
 
 /*
  * fifo refill frontend, to avoid reading data in trace sized bites
 
 /*
  * fifo refill frontend, to avoid reading data in trace sized bites