projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'priorityQueuing' of https://github.com/Seagate/fio
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 03f5c21f37c10523362ed2c73af8f57fe1ca691e..bcb893c5abad0ddc19c750dc7f802b7029252483 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-1541,7
+1541,7
@@
again:
assert(io_u->flags & IO_U_F_FREE);
io_u_clear(td, io_u, IO_U_F_FREE | IO_U_F_NO_FILE_PUT |
IO_U_F_TRIMMED | IO_U_F_BARRIER |
assert(io_u->flags & IO_U_F_FREE);
io_u_clear(td, io_u, IO_U_F_FREE | IO_U_F_NO_FILE_PUT |
IO_U_F_TRIMMED | IO_U_F_BARRIER |
- IO_U_F_VER_LIST);
+ IO_U_F_VER_LIST
| IO_U_F_PRIORITY
);
io_u->error = 0;
io_u->acct_ddir = -1;
io_u->error = 0;
io_u->acct_ddir = -1;
@@
-1830,7
+1830,7
@@
static void account_io_completion(struct thread_data *td, struct io_u *io_u,
unsigned long long tnsec;
tnsec = ntime_since(&io_u->start_time, &icd->time);
unsigned long long tnsec;
tnsec = ntime_since(&io_u->start_time, &icd->time);
- add_lat_sample(td, idx, tnsec, bytes, io_u->offset);
+ add_lat_sample(td, idx, tnsec, bytes, io_u->offset
, io_u_is_prio(io_u)
);
if (td->flags & TD_F_PROFILE_OPS) {
struct prof_io_ops *ops = &td->prof_io_ops;
if (td->flags & TD_F_PROFILE_OPS) {
struct prof_io_ops *ops = &td->prof_io_ops;
@@
-1849,7
+1849,7
@@
static void account_io_completion(struct thread_data *td, struct io_u *io_u,
if (ddir_rw(idx)) {
if (!td->o.disable_clat) {
if (ddir_rw(idx)) {
if (!td->o.disable_clat) {
- add_clat_sample(td, idx, llnsec, bytes, io_u->offset);
+ add_clat_sample(td, idx, llnsec, bytes, io_u->offset
, io_u_is_prio(io_u)
);
io_u_mark_latency(td, llnsec);
}
io_u_mark_latency(td, llnsec);
}
@@
-2091,7
+2091,7
@@
void io_u_queued(struct thread_data *td, struct io_u *io_u)
td = td->parent;
add_slat_sample(td, io_u->ddir, slat_time, io_u->xfer_buflen,
td = td->parent;
add_slat_sample(td, io_u->ddir, slat_time, io_u->xfer_buflen,
- io_u->offset);
+ io_u->offset
, io_u_is_prio(io_u)
);
}
}
}
}