#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
int fileno;
dprint(FD_BLKTRACE, "add devices %s\n", dev);
- fileno = add_file(td, dev);
+ fileno = add_file_exclusive(td, dev);
trace_add_open_event(td, fileno);
}
}
queue_io_piece(td, ipo);
}
-static void handle_trace_notify( struct blk_io_trace *t)
+static void handle_trace_notify(struct blk_io_trace *t)
{
switch (t->action) {
case BLK_TN_PROCESS: