projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for >= 4G block sizes
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index af4cc6b75babde048f72c77de353e1f3ae031d94..8cb81179f60a8c80201b81dcc80977f0ea5bf5cf 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-531,7
+531,7
@@
static void put_job(struct thread_data *td)
static int __setup_rate(struct thread_data *td, enum fio_ddir ddir)
{
static int __setup_rate(struct thread_data *td, enum fio_ddir ddir)
{
- unsigned
int
bs = td->o.min_bs[ddir];
+ unsigned
long long
bs = td->o.min_bs[ddir];
assert(ddir_rw(ddir));
assert(ddir_rw(ddir));
@@
-891,7
+891,7
@@
static int fixup_options(struct thread_data *td)
* If size is set but less than the min block size, complain
*/
if (o->size && o->size < td_min_bs(td)) {
* If size is set but less than the min block size, complain
*/
if (o->size && o->size < td_min_bs(td)) {
- log_err("fio: size too small, must not be less than minimum block size: %llu < %u\n",
+ log_err("fio: size too small, must not be less than minimum block size: %llu < %
ll
u\n",
(unsigned long long) o->size, td_min_bs(td));
ret |= 1;
}
(unsigned long long) o->size, td_min_bs(td));
ret |= 1;
}