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 05a4d51..a5e0c6f 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;
        }