Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio
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 @@
 	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