[prev in list] [next in list] [prev in thread] [next in thread]
List: fuse-devel
Subject: Re: [fuse-devel] Help understanding open+write/read
From: Jin-wook Jeong <jeweljar () hanmail ! net>
Date: 2007-01-29 6:13:38
Message-ID: loom.20070129T070318-203 () post ! gmane ! org
[Download RAW message or body]
Fareha Shafique <fareha@...> writes:
>
> Yup I already noticed gedit was doing this (saving to a temporary file
> and renaming it only when the write succeeds). I found my problem (i
> think). However, I would still like to know how fuse relates a
> particular fuse_file_info structure to a particular file operation
> function call.
> It would be nice if someone could point me to a direction where I might
> find an explanation to my confusion.
>
> Thanks.
>
The fuse kernel module keeps it (in kernel memory).
but, not the whole structure, but fi->fh value only.
You can find this by looking at fuse_finish_open() function in kernel/file.c.
---
Jin-wook Jeong
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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