mmap engine: remove 'mmap too large' check for 32-bit
[fio.git] / engines / mmap.c
index 05a4d5163ce5dbd45a3ba351419417e642b65be1..a5e0c6fc25646329336bd91f35759bcec6f3d709 100644 (file)
@@ -43,8 +43,6 @@ static int fio_mmap_file(struct thread_data *td, struct fio_file *f,
 
                f->mmap_ptr = NULL;
                td_verror(td, err, "mmap");
-               if (err == EINVAL && f->io_size > 2*1024*1024*1024UL)
-                       log_err("fio: mmap size likely too large\n");
                goto err;
        }