caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Announce: alpha testing of ocamlfuse
@ 2004-11-13 16:11 Vincenzo Ciancia
  2004-11-13 16:36 ` [Caml-list] " Matt Gushee
  0 siblings, 1 reply; 3+ messages in thread
From: Vincenzo Ciancia @ 2004-11-13 16:11 UTC (permalink / raw)
  To: caml-list

Hi all, I am trying to write a complete, up-to-date, efficient and 
correctly multithreaded binding to the fuse api for ocaml. Fuse is a 
linux kernel module allowing filesystems to be implemented in user 
space, see

http://www.sourceforge.net/projects/fuse

By now, OCamlFuse is complete and up-to-date, but multithreading has 
troubles. Anyway, I declare the single-threaded version to be in 
alpha-testing (i.e. internal, developers testing). Since I consider the 
developers of any free-software projects to be everybody willing to 
join, I announce it here, in the hope that someone will want to have a 
look at my efforts and to test it, write some example filesystem in 
ocaml, comment on the interface and possible improvements in 
implementation, or even better to help with multithreading, which 
"should" work but crashes under heavy load for mysterious reasons. 

Help or advices for packaging are also wanted, since I don't know too 
much about GODI or ocamlfindlib and have not so much free time to work 
on this project. I will answer to any question on the ocamlfuse-devel 
mailing list, please read the README to know fundamental issues.

The source lives in the cvs; you can find everything needed, including 
the mailing list, on the sourceforge project page:

http://www.sourceforge.net/projects/ocamlfuse

I did everything in a hurry, and on a by-need basis, I am not an expert 
user of the ocaml C interface, so if you have suggestions, don't 
hesitate to tell me :)

Vincenzo Ciancia


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Announce: alpha testing of ocamlfuse
  2004-11-13 16:11 Announce: alpha testing of ocamlfuse Vincenzo Ciancia
@ 2004-11-13 16:36 ` Matt Gushee
  2004-11-13 18:30   ` Vincenzo Ciancia
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Gushee @ 2004-11-13 16:36 UTC (permalink / raw)
  To: caml-list

On Sat, Nov 13, 2004 at 05:11:36PM +0100, Vincenzo Ciancia wrote:
> Hi all, I am trying to write a complete, up-to-date, efficient and 
> correctly multithreaded binding to the fuse api for ocaml. Fuse is a 
> linux kernel module allowing filesystems to be implemented in user 
> space, see

I'm interested in this. First of all, what was wrong with the existing
mlfuse library? (I'm not saying there's nothing wrong with it, I just
don't know--hadn't tried it yet).

-- 
Matt Gushee
Englewood, Colorado, USA


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Announce: alpha testing of ocamlfuse
  2004-11-13 16:36 ` [Caml-list] " Matt Gushee
@ 2004-11-13 18:30   ` Vincenzo Ciancia
  0 siblings, 0 replies; 3+ messages in thread
From: Vincenzo Ciancia @ 2004-11-13 18:30 UTC (permalink / raw)
  To: caml-list

On Saturday 13 November 2004 17:36, Matt Gushee wrote:
> I'm interested in this. First of all, what was wrong with the
> existing mlfuse library? (I'm not saying there's nothing wrong with
> it, I just don't know--hadn't tried it yet).

It's not up-to-date (fuse is going towards its 2.1 release, while the 
existing mlfuse is for fuse 0.9), and it was not designed with 
multithreading in mind. If the latter was not true, I would not have 
rewritten it, however by now I must record a failure, since I did this 
all to get multithreading working and had no success :/ I am going to 
try to spot the problem this weekend - it's related to a previous 
recent post of mine on this list.

Apart from this, a question to the list: to implement the read and write 
operations I am constrained to string copying. Is there a way to share 
a string with C in ocaml or should I roll my own "cstring" type and use 
that, copying from/to strings using memcpy when necessary?

Bye

Vincenzo


-- 
First they ignore you, then they laugh at you,
then they fight you, then you win.
[Gandhi]


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-13 18:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-13 16:11 Announce: alpha testing of ocamlfuse Vincenzo Ciancia
2004-11-13 16:36 ` [Caml-list] " Matt Gushee
2004-11-13 18:30   ` Vincenzo Ciancia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).