Thanks for the quick reply.

On Mon, Aug 25, 2008 at 7:15 PM, Amit Singh <[EMAIL PROTECTED]> wrote:

> * Sounds like your file system is NOT using MacFUSE.framework
> (Objective-C bindings to MacFUSE); is that correct?

That's right. I took my C implementation from linux and recompiled on
a mac with macfuse installed.

> * Which specific requests (read/write/getattr etc.) can block in your
> file system? Which type of objects can they block for: just files, or
> directories too?

readlink and read can block. Many symlinks exists and can all be
blocked. Only one file can be opened and reads on it can block.

> * How are you accessing the file system when it gets stuck: through
> the command line or through the Finder?

With a multithreaded program. One thread is calling a blocking read
and then another is trying to write to that same file. And so your
second email explains my problem. I could split up the reads and
writes to separate files and it sounds like that would take care of my
problem.

> * When the whole thing gets stuck, does it get unstuck when the
> blocking request unblocks?

I can only unblock the read by doing a write on the same file... :-)

Thanks!

Dan

> On Aug 25, 6:49 pm, Daniel Benamy <[EMAIL PROTECTED]> wrote:
>> I've got a fuse file system which sometimes intentionally blocks
>> requests. It works with fuse on linux which spawns new threads for
>> each request and is happy to leave some hanging around for a while and
>> process other requests. But when I run it with macfuse, its acting as
>> though when one request blocks, the whole thing gets stuck. Is this
>> intentional? Is there any way around it? I did a bit of searching on
>> the web and skimmed the code and I haven't found anything about this.
>> Thanks a lot,
>> Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" group.
To post to this group, send email to macfuse-devel@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to