projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0410e78
)
engine/filecreate: use clat and reads for stats
author
Jens Axboe
<axboe@kernel.dk>
Mon, 9 Oct 2017 19:13:13 +0000
(13:13 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 9 Oct 2017 19:13:13 +0000
(13:13 -0600)
Fio defaults to reads, we should use the same direction as the job
though. Additionally, we must use clat latencies for tracking,
as this is a sync engine and whole latencies are logged as
completions.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/filecreate.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/filecreate.c
b/engines/filecreate.c
index d753df24c94f830b6ef581a754677a8c0212b1ff..00562c861c2be580083f60032dfc368914c8e6f3 100644
(file)
--- a/
engines/filecreate.c
+++ b/
engines/filecreate.c
@@
-46,7
+46,7
@@
static int open_file(struct thread_data *td, struct fio_file *f)
uint64_t nsec;
nsec = ntime_since_now(&start);
- add_
lat_sample(td, DDIR_WRITE
, nsec, 0, 0);
+ add_
clat_sample(td, DDIR_READ
, nsec, 0, 0);
}
return 0;