projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
splice engine: add unmapping for vmsplice-to-user
[fio.git]
/
blktrace.c
diff --git
a/blktrace.c
b/blktrace.c
index 8ebbae6f2fbe788c3c2ee353385535dac68c90ce..58f28ceb664db93a4ca0e97f0405a066929d3b38 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-75,10
+75,8
@@
int is_blktrace(const char *filename)
int fd, ret;
fd = open(filename, O_RDONLY);
int fd, ret;
fd = open(filename, O_RDONLY);
- if (fd < 0) {
- perror("open blktrace");
+ if (fd < 0)
return 0;
return 0;
- }
ret = read(fd, &t, sizeof(t));
close(fd);
ret = read(fd, &t, sizeof(t));
close(fd);
@@
-283,6
+281,8
@@
int load_blktrace(struct thread_data *td, const char *filename)
log_err("fio: discarded %d of %d\n", ret, t.pdu_len);
goto err;
}
log_err("fio: discarded %d of %d\n", ret, t.pdu_len);
goto err;
}
+ if (t.action & BLK_TC_ACT(BLK_TC_NOTIFY))
+ continue;
if (!ttime) {
ttime = t.time;
cpu = t.cpu;
if (!ttime) {
ttime = t.time;
cpu = t.cpu;