Re: Optional mmap(2) support for geom(4) providers

From: Maxim Sobolev <sobomax_at_FreeBSD.org>
Date: Mon, 15 May 2006 10:00:56 -0700
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
Received on Mon May 15 2006 - 15:01:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:55 UTC