projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.kernel.dk/data/git/fio
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index 572670ec0acb9792af4e808d69570ff8ea64c617..67f0badf8cb690d0b2940038157d19745b7075f0 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-1006,9
+1006,12
@@
static inline void dprint_io_u(struct io_u *io_u, const char *p)
dprint(FD_IO, "%s: io_u %p: off=%llu/len=%lu/ddir=%d", p, io_u,
io_u->offset, io_u->buflen, io_u->ddir);
dprint(FD_IO, "%s: io_u %p: off=%llu/len=%lu/ddir=%d", p, io_u,
io_u->offset, io_u->buflen, io_u->ddir);
- if (f)
- dprint(FD_IO, "/%s", f->file_name);
- dprint(FD_IO, "\n");
+ if (fio_debug & (1 << FD_IO)) {
+ if (f)
+ log_info("/%s", f->file_name);
+
+ log_info("\n");
+ }
}
#else
#define dprint(type, str, args...)
}
#else
#define dprint(type, str, args...)