Hi,

An issue on solaris :

Anonymous mmap must have a fd set to -1 in order to work (on linux, it is 
ignored), in alloc_mem_mmap, the fd is set to 1

[.]
static int alloc_mem_mmap(struct thread_data *td, size_t total_mem)
{
                int flags = 0;

                td->mmapfd = 1;

                if (td->o.mem_type == MEM_MMAPHUGE) {
[.]

Changing it to -1 makes the code working fine.

Bye
Seb

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to