Low Level Api support for mmap and lssek

View: New views
5 Messages — Rating Filter:   Alert me  

Low Level Api support for mmap and lssek

by jojy.varghese :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All
  I am a relatively new use of  Fuse and am trying to implement lseek and
mmap for the files to be hosted by the fuse file system. I dont see any low
level operation called lseek or mmap and so was wondering if this is
possible.  In the kernel, these operations belong to the file operations and
I was hoping to get the same functionality using fuse.

thanks again
Jojy G Varghese
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: Low Level Api support for mmap and lssek

by Goswin von Brederlow-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jojy Varghese <jojy.varghese@...> writes:

> Hi All
>   I am a relatively new use of  Fuse and am trying to implement lseek and
> mmap for the files to be hosted by the fuse file system. I dont see any low
> level operation called lseek or mmap and so was wondering if this is
> possible.  In the kernel, these operations belong to the file operations and
> I was hoping to get the same functionality using fuse.
>
> thanks again
> Jojy G Varghese

lseek() just updates the file offset in the applications file
descriptor. That has no effect on the filesystem.

As for mmap afaik the only thing you see of that is read()/write()
callbaks of page sized chunks. There isn't any difference (for your
filesystem) between a read/write due to mmap or due to read/write
calls.

MfG
        Goswin

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Transport endpoint is not connected

by Dave Whiteside :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using ciopfs which uses fuse
however I get this error when it's up and running [usually under heavy load]
I'm running on BlueWhite64 - [64bit slackware clone] - not he latest version but I'm using
the latest ciopfs and fuse 2.8.1

when I run ciopfs as -s that error goes away but I'm left with
ulockmgr_server: open file descriptors on exit
after a while of running,

has anyone got any ideas on how I can fix this or what the problem really is ?

Dave
-- dazed and confused

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Parent Message unknown Re: Transport endpoint is not connected

by Philip Tait-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm seeing the same issue, just when copying a few files into a mounted
tree.

CentOS 5.3, fuse 2.7.4, ciopfs 0.2

Philip J. Tait
http://subarutelescope.org

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: Transport endpoint is not connected

by John Muir-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009-10-06, at 11:04 PM, Philip Tait wrote:

> I'm seeing the same issue, just when copying a few files into a  
> mounted
> tree.


"Transport endpoint is not connected" is an error that occurs when the  
file-system process crashes. ciopfs is likely crashing.

You could attempt to run it with a debugging tool like valgrind, or  
turn on core dumps if they are disabled and try to find where the bug  
is.

John.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel