projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Fix buflen trimming
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 89ece538c570391b8812957f2e4a428d1ab1bb65..29c23f6f0a44a48abf2fb4ea1367b75ac4964f68 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-138,13
+138,6
@@
static unsigned int get_next_buflen(struct thread_data *td, struct fio_file *f,
}
while (buflen + io_u->offset > f->real_file_size) {
- /*
- * if using direct/raw io, we may not be able to
- * shrink the size. so just fail it.
- */
- if (td->io_ops->flags & FIO_RAWIO)
- return 0;
-
if (buflen == td->min_bs[ddir])
return 0;