projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
filesetup: honor the offset option
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 7904d187e5f3ce394ce8707fee05d02562a02530..b8d1d83899cea588a40af2ed126adf150f26fa4c 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-1047,7
+1047,7
@@
int setup_files(struct thread_data *td)
* doesn't divide nicely with the min blocksize,
* make the first files bigger.
*/
- f->io_size = fs;
+ f->io_size = fs
- f->file_offset
;
if (nr_fs_extra) {
nr_fs_extra--;
f->io_size += bs;