The following changes since commit 5bd9c78ce361e3a924013299c53fd823fba05818: Use CLOCK_MONOTONIC if we can (2012-02-03 12:48:16 +0100) are available in the git repository at: git://git.kernel.dk/fio.git master Jens Axboe (2): Fail if we can't satisfy the minimum block size Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio io_u.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) --- Diff of recent changes: diff --git a/io_u.c b/io_u.c index 54f8685..8a03348 100644 --- a/io_u.c +++ b/io_u.c @@ -377,6 +377,12 @@ static unsigned int __get_next_buflen(struct thread_data *td, struct io_u *io_u) if (minbs == maxbs) return minbs; + /* + * If we can't satisfy the min block size from here, then fail + */ + if (!io_u_fits(td, io_u, minbs)) + return 0; + if (td->o.use_os_rand) rand_max = OS_RAND_MAX; else -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html