You said a few mails up:
"There are device mmap() implementations which simply ignore @offset
because offsetting doesn't make any sense at all"
Which means a) doesn't necessarily matter, so it's not something that
determines aliasing issues.
I'm beginning to undestand what you mean by "dmmap AS".
The thing is, I'm still not sure if or how this kind of mmap makes
sense outside of the CUSE context. Which makes designing the API
difficult.
So, for now maybe it's best to go with your implementation, fix issues
with the offsets and make it CUSE only for the moment.
The alternative is for me to start implementing a coherent distributed
filesystem, so I can see what the actual requirements for a direct
mmap would be. That would be fun, but it would
a) delay direct mmap for CUSE by an unknown amount of time
b) delay everything else that I have in the pipeline ;)
Thanks,
Miklos
--