[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    Re: [fuse-devel] fuse seems to freeze on long operations
From:       Miklos Szeredi <miklos () szeredi ! hu>
Date:       2009-08-04 15:44:57
Message-ID: E1MYMC9-0004v8-KN () pomaz-ex ! szeredi ! hu
[Download RAW message or body]

On Fri, 31 Jul 2009, Bruno wrote:
> Hi guys,
>    I am working on a fuse filesystem which interact with a db I use to
> catalogue my Audio and Video files.
> I am using Debian etch with PostgreSQL 8.2.6 and kernel 2.6.24-1-amd64.
> I have noticed that when I execute a long running operation I cannot
> access the mounted filesystem using another shell.
> Maybe I am missing something. I did not find anything about the issue
> I have, can you please help me?

This is caused by the locking necessary for accessing directories:
when a file or directory is removed then the kernel locks the parent
directory which is not accessible while the unlink/rmdir operation is
in progress.  Similar locking happens when creating a directory entry
as well.

The rest of the filesystem is unaffected, however, so this only blocks
operations on or immediately below the parent directory.

Thanks,
Miklos

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic