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

List:       fuse-devel
Subject:    Re: [fuse-devel] open() function call (to mounting point) gets hang
From:       Daehee Kim <dahkim77 () gmail ! com>
Date:       2011-06-28 22:16:20
Message-ID: BANLkTinKsovCQuO7KpacUSA=uHezeppPmw () mail ! gmail ! com
[Download RAW message or body]

I fixed this problem.
The problem occurred at memory allocation in Fuse.
There were some errors to use pointers.

For this reason, Fuse got hang and open() call from other application
couldn't make it.

Thanks.
Danny

On Tue, Jun 28, 2011 at 12:21 PM, Daehee Kim <dahkim77@gmail.com> wrote:

> Hi,
>
> I use FUSE 2.8.5 on Linux fedora core 14.
>
> With open() and write(), I tried to save files to mounting directory by
> Fuse.
> Up to three times, open() works well, but next time, Fuse got hang.
>
> [ calling function to save files to mounting directory ]
>
> fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0644);   // <-- here, open()
> got hang at the fourth try.
>
> :
> ret = write(fd, str, strlen(str));
> :
>
> [ what Fuse works .. ]
>
> Fuse works up to third try, but next time, Fuse got hang.
> I had to kill Fuse process.
>
> When I print log in Fuse, XX_getattr() was called, but XX_open() was not
> called in Fuse.
>
>
> I would very appreciate any comments.
> Danny
>
> --
> Danny (Daehee) Kim
>
> Ph.D student
> Computer Science and Electrical Engineering
> School of Computing and Engineering
> University of Missouri – Kansas City
>
> email-address : daehee.kim@umkc.edu, dahkim77@gmail.com
> office : 816-235-5339
>
>
>


-- 
Danny (Daehee) Kim

Ph.D student
Computer Science and Electrical Engineering
School of Computing and Engineering
University of Missouri – Kansas City

email-address : daehee.kim@umkc.edu, dahkim77@gmail.com
office : 816-235-5339
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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