Are you asking about the kernel module or the user-space FUSE API implementation?
Can you clarify what you mean by "stub functions"? Your use of that term makes me think that perhaps you are talking about the user space API. If you are talking about the user-space API then the callback methods that your filesystem implements may be called concurrently depending on whether or not you are using the "-s" option at mount time. >From http://code.google.com/p/macfuse/wiki/OPTIONS : "By default, the MacFUSE user-space library runs a file system in multithreaded mode. You can use the -s option to make a user-space file system run in single-threaded mode. " ted On Feb 17, 2008 4:11 PM, spolu <[EMAIL PROTECTED]> wrote: > > meaning that the calls to the stub functions are made atomically ? > > thanks again ! > > -stan > > > On Feb 16, 7:58 pm, Amit Singh <[EMAIL PROTECTED]> wrote: > > "fuse kernel module" is somewhat vague terminology. The MacFUSE kernel > > extension (Mac OS X) is completely different from the FUSE kernel > > module (Linux). Naturally, the in-kernel behaviors of these entities > > depend upon how the Mac OS X and Linux VFSs behave. > > > > Yes, there can be (and almost certainly are during typical) multiple > > calls from kernel->user simultaneously in flight. Yes, the MacFUSE > > kernel extension uses internal locking. > > > > Amit > > > > On Feb 16, 6:58 pm, spolu <[EMAIL PROTECTED]> wrote: > > > > > Hi all ! > > > > > Just a rapid question. I believe that call to fuse stub functions can > > > occur concurrently in different kernel thread context. > > > > > Is that the case ? Or is there any synchronization occurring > > > internally to the fuse kernel module ? > > > > > Cheers, > > > > > -stan > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "macfuse-devel" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/macfuse-devel?hl=en -~----------~----~----~----~------~----~------~--~---
