projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ac89311
)
mmap engine: remove 'mmap too large' check for 32-bit
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 2 Jun 2009 11:41:27 +0000
(13:41 +0200)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/engines/mmap.c
b/engines/mmap.c
index 05a4d5163ce5dbd45a3ba351419417e642b65be1..a5e0c6fc25646329336bd91f35759bcec6f3d709 100644
(file)
--- a/
engines/mmap.c
+++ b/
engines/mmap.c
@@
-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;
}