projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t/zbd: Combine write and read fio commands for test case #16
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index ae1438fd665673e3077cc41c8dae0e4ace1b01c4..7f50906ba3f9792eb34755274bf5b2efab9464f1 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-1934,8
+1934,8
@@
static void io_completed(struct thread_data *td, struct io_u **io_u_ptr,
if (io_u->error)
unlog_io_piece(td, io_u);
else {
- io_u->ipo->flags &= ~IP_F_IN_FLIGHT;
-
write_barrier(
);
+ atomic_store_release(&io_u->ipo->flags,
+
io_u->ipo->flags & ~IP_F_IN_FLIGHT
);
}
}