The error message refers to the IO size, yet another parameter, but we
actually compare the size parameter value against the block size.
Change the message to reflect the code, and make it easier for the user
to see what values are we comparing.
Signed-off-by: Jakub Sitnicki <jkbs@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
* 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 be larger than the IO size: %llu\n", (unsigned long long) o->size);
+ log_err("fio: size too small, must not be less than minimum block size: %llu < %u\n",
+ (unsigned long long) o->size, td_min_bs(td));