projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix conditional/message for max lba for sg ioengine
[fio.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index a048452d61c8e12b0138baad9bc05f125fb90151..a46101ca5aebc04d51523f3e4eb61c01c907c368 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-180,8
+180,8
@@
static bool __check_min_rate(struct thread_data *td, struct timeval *now,
* check bandwidth specified rate
*/
if (bytes < td->rate_bytes[ddir]) {
* check bandwidth specified rate
*/
if (bytes < td->rate_bytes[ddir]) {
- log_err("%s:
min rate %u not met\n", td->o.name
,
-
ratemin
);
+ log_err("%s:
rate_min=%uB/s not met, only transferred %lluB\n"
,
+
td->o.name, ratemin, bytes
);
return true;
} else {
if (spent)
return true;
} else {
if (spent)
@@
-191,9
+191,8
@@
static bool __check_min_rate(struct thread_data *td, struct timeval *now,
if (rate < ratemin ||
bytes < td->rate_bytes[ddir]) {
if (rate < ratemin ||
bytes < td->rate_bytes[ddir]) {
- log_err("%s: min rate %u not met, got"
- " %luKB/sec\n", td->o.name,
- ratemin, rate);
+ log_err("%s: rate_min=%uB/s not met, got %luB/s\n",
+ td->o.name, ratemin, rate);
return true;
}
}
return true;
}
}
@@
-202,8
+201,8
@@
static bool __check_min_rate(struct thread_data *td, struct timeval *now,
* checks iops specified rate
*/
if (iops < rate_iops) {
* checks iops specified rate
*/
if (iops < rate_iops) {
- log_err("%s:
min iops rate %u not met
\n",
- td->o.name, rate_iops);
+ log_err("%s:
rate_iops_min=%u not met, only performed %lu IOs
\n",
+ td->o.name, rate_iops
, iops
);
return true;
} else {
if (spent)
return true;
} else {
if (spent)
@@
-213,9
+212,8
@@
static bool __check_min_rate(struct thread_data *td, struct timeval *now,
if (rate < rate_iops_min ||
iops < td->rate_blocks[ddir]) {
if (rate < rate_iops_min ||
iops < td->rate_blocks[ddir]) {
- log_err("%s: min iops rate %u not met,"
- " got %lu\n", td->o.name,
- rate_iops_min, rate);
+ log_err("%s: rate_iops_min=%u not met, got %lu IOPS\n",
+ td->o.name, rate_iops_min, rate);
return true;
}
}
return true;
}
}
@@
-2065,7
+2063,7
@@
static bool check_mount_writes(struct thread_data *td)
return false;
mounted:
return false;
mounted:
- log_err("fio: %s appears mounted, and 'allow_mounted_write' isn't set. Aborting.", f->file_name);
+ log_err("fio: %s appears mounted, and 'allow_mounted_write' isn't set. Aborting.
\n
", f->file_name);
return true;
}
return true;
}