projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the file->last_completed_pos variable
[fio.git]
/
engines
/
sync.c
diff --git
a/engines/sync.c
b/engines/sync.c
index c5410c7d4a97f6cbef713de04e15608b0e90f7e8..46cb864d770b7819015f354c325c8410fbb878b5 100644
(file)
--- a/
engines/sync.c
+++ b/
engines/sync.c
@@
-30,8
+30,6
@@
static int fio_syncio_prep(struct thread_data *td, struct io_u *io_u)
if (io_u->ddir == DDIR_SYNC)
return 0;
if (io_u->ddir == DDIR_SYNC)
return 0;
- if (io_u->offset == f->last_completed_pos)
- return 0;
if (lseek(f->fd, io_u->offset, SEEK_SET) == -1) {
td_verror(td, errno, "lseek");
if (lseek(f->fd, io_u->offset, SEEK_SET) == -1) {
td_verror(td, errno, "lseek");