projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t/io_uring: fix max_blocks calculation in nvme passthrough mode
[fio.git]
/
t
/
io_uring.c
diff --git
a/t/io_uring.c
b/t/io_uring.c
index 504f8ce9f1b14a40bc37e19cd0f318e956708913..f9f4b84005b91d4655989901c8a8778b60429897 100644
(file)
--- a/
t/io_uring.c
+++ b/
t/io_uring.c
@@
-704,7
+704,7
@@
static int get_file_size(struct file *f)
bs, lbs);
return -1;
}
- f->max_blocks = nlba
/ bs
;
+ f->max_blocks = nlba;
f->max_size = nlba;
f->lba_shift = ilog2(lbs);
return 0;