Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 2006 10:00:56 -0700
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        "current@freebsd.org" <current@FreeBSD.org>
Subject:   Re: Optional mmap(2) support for geom(4) providers
Message-ID:  <4468B3C8.8010707@FreeBSD.org>
In-Reply-To: <4468AA73.9000702@fer.hr>
References:  <44681D92.80309@sippysoft.com> <4468AA73.9000702@fer.hr>

next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Voras wrote:
> Maxim Sobolev wrote:
>> Hi,
>>
>> I would like to extend md(4) with support for mmap(4) operations, 
>> however it's interfaced to the world via geom_dev(4), which doesn't 
>> provide mmap pass-through interface. Is it intentional or not? Are you 
>> willing to accept the patches if I do the actual work?
> 
> Just an opinion: It would probably be more useful to implement mmap at a 
> lower level (GEOM) so all devices can use it.

I am not sure that I understand what do you mean. In the case of md(4) 
mmap makes huge sense, since for preloaded images your disk in fact is 
just range of kernel memory, so that doing mmap is trivial.

-Maxim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4468B3C8.8010707>