projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd98801
)
Allow IO logging even for diskless engines
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 21 Apr 2009 06:28:17 +0000
(08:28 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 21 Apr 2009 06:28:17 +0000
(08:28 +0200)
Helps to verify IO patterns.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index 6604c1c8ac9295877e2f2a5b95ef2d54f09b21da..6fe4961255c710a0ccc82a3e2c66478eb0f334d9 100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-406,6
+406,8
@@
static int init_iolog_write(struct thread_data *td)
return 1;
}
+ printf("log opened\n");
+
/*
* That's it for writing, setup a log buffer and we're done.
*/
@@
-434,9
+436,6
@@
int init_iolog(struct thread_data *td)
{
int ret = 0;
- if (td->io_ops->flags & FIO_DISKLESSIO)
- return 0;
-
if (td->o.read_iolog_file) {
/*
* Check if it's a blktrace file and load that if possible.