All of lore.kernel.org
 help / color / mirror / Atom feed
* [CHECKER] Need help on mmap on FUSE (linux user-land file system)
@ 2005-03-13  7:20 Junfeng Yang
  2005-03-13  7:28 ` [MC] " Junfeng Yang
  0 siblings, 1 reply; 4+ messages in thread
From: Junfeng Yang @ 2005-03-13  7:20 UTC (permalink / raw)
  To: Linux Kernel Mailing List, fuse-devel; +Cc: mc, Miklos Szeredi


Does anyone know how to set up mmap on FUSE (linux user-land file system)?
Or is it even possible to have mmap on FUSE?

Our file system checker can potentially check a lot more things if we can
have mmap working on a FUSE file system.  Your help on this are well
appreciated!

-Junfeng


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [MC] [CHECKER] Need help on mmap on FUSE (linux user-land file system)
  2005-03-13  7:20 [CHECKER] Need help on mmap on FUSE (linux user-land file system) Junfeng Yang
@ 2005-03-13  7:28 ` Junfeng Yang
  2005-03-13 13:51   ` Kyle Moffett
  0 siblings, 1 reply; 4+ messages in thread
From: Junfeng Yang @ 2005-03-13  7:28 UTC (permalink / raw)
  To: Linux Kernel Mailing List, fuse-devel; +Cc: mc, Miklos Szeredi


Forget to mention, we are checking linux 2.6.  It appears to us that mmap
doesnt' work for FUSE in linux 2.6.

-Junfeng

On Sat, 12 Mar 2005, Junfeng Yang wrote:

>
> Does anyone know how to set up mmap on FUSE (linux user-land file system)?
> Or is it even possible to have mmap on FUSE?
>
> Our file system checker can potentially check a lot more things if we can
> have mmap working on a FUSE file system.  Your help on this are well
> appreciated!
>
> -Junfeng
>
>
> _______________________________________________
> MC mailing list
> MC@keeda.stanford.edu
> http://keeda.stanford.edu/cgi-bin/mailman/listinfo/mc
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [MC] [CHECKER] Need help on mmap on FUSE (linux user-land file system)
  2005-03-13  7:28 ` [MC] " Junfeng Yang
@ 2005-03-13 13:51   ` Kyle Moffett
  2005-03-14 10:22     ` Miklos Szeredi
  0 siblings, 1 reply; 4+ messages in thread
From: Kyle Moffett @ 2005-03-13 13:51 UTC (permalink / raw)
  To: Junfeng Yang; +Cc: Miklos Szeredi, Linux Kernel Mailing List, fuse-devel, mc

On Mar 13, 2005, at 02:28, Junfeng Yang wrote:
> Forget to mention, we are checking linux 2.6.  It appears to us that 
> mmap
> doesnt' work for FUSE in linux 2.6.

IIRC, the reason mmap doesn't work on FUSE is because when it dirties 
pages they
cannot be flushed reliably, because writing them out involves calling a 
userspace
process which may allocate RAM, etc.

Cheers,
Kyle Moffett

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+
PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r  
!y?(-)
------END GEEK CODE BLOCK------



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [MC] [CHECKER] Need help on mmap on FUSE (linux user-land file system)
  2005-03-13 13:51   ` Kyle Moffett
@ 2005-03-14 10:22     ` Miklos Szeredi
  0 siblings, 0 replies; 4+ messages in thread
From: Miklos Szeredi @ 2005-03-14 10:22 UTC (permalink / raw)
  To: mrmacman_g4; +Cc: yjf, linux-kernel, fuse-devel, mc

> > Forget to mention, we are checking linux 2.6.  It appears to us
> > that mmap doesnt' work for FUSE in linux 2.6.
> 
> IIRC, the reason mmap doesn't work on FUSE is because when it
> dirties pages they cannot be flushed reliably, because writing them
> out involves calling a userspace process which may allocate RAM,
> etc.

Yes.  To be precise this only affects writable shared mmap(), which is
not used by the great majority of applications.  Any other kind of
memory mapping should work OK.

Thanks,
Miklos

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-14 10:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-13  7:20 [CHECKER] Need help on mmap on FUSE (linux user-land file system) Junfeng Yang
2005-03-13  7:28 ` [MC] " Junfeng Yang
2005-03-13 13:51   ` Kyle Moffett
2005-03-14 10:22     ` Miklos Szeredi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.