mmap engine: remove 'mmap too large' check for 32-bit
authorJens Axboe <jens.axboe@oracle.com>
Tue, 2 Jun 2009 11:41:27 +0000 (13:41 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 2 Jun 2009 11:41:27 +0000 (13:41 +0200)
We now support large files regardless of architecture, so just kill
the check again.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
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;
        }