Re: [fuse-devel] [PATCH] FUSE/CUSE: implement direct mmap support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Szeredi
Date: Friday, February 12, 2010 - 6:53 am

On Fri, 12 Feb 2010, Tejun Heo wrote:

That dev_offset value is used as an offset into the server side mmap
address space.  And yes, vma->vm_pgoff and dev_offset should be SHMLBA
multiples apart.

But don't call that _adjustment_.  That's totally confusing, these are
*two* *different* *offsets*.  There's an alignment requirement but
that's all.  If they are the same that is pure coincidence.

And dev_offset (which points into the dmmap address space) is only
required if the filesystem/CUSE driver needs server side mmap.


I understand that, and that's where the interesting part comes in:
make the mmap API in a way that it works with and without server side
mmap.

Thanks,
Miklos
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] FUSE/CUSE: implement direct mmap support, Tejun Heo, (Mon Feb 8, 11:08 pm)
Re: [fuse-devel] [PATCH] FUSE/CUSE: implement direct mmap ..., Goswin von Brederlow, (Wed Feb 10, 1:24 am)
Re: [fuse-devel] [PATCH] FUSE/CUSE: implement direct mmap ..., Miklos Szeredi, (Fri Feb 12, 6:53 am)