Hi Robert,

Robert Milkowski wrote:
>
> >
>
>       
>
> Hi,
>
>
> I am having a problem porting Solaris R/W lock functionality to Linux. 
> The problem is that RW_LOCK_HELD() doesn't have an equivalent function 
> in pthreads.
>
>
>
>
>
> I'm just curious - are you porting ZFS to Linux? If so can you share 
> any details?
>

Last year, as part of the Google Summer of Code program and with the 
mentoring help of Mark Shellenbaum, I've already ported ZFS to Linux as 
a userspace filesystem (implemented on top of the FUSE framework).

You can go to http://www.wizy.org/wiki/ZFS_on_FUSE for details.

The work I was doing was related to ZFS-FUSE and also to the Lustre ZFS 
integration, both of which share most of the code (except for the ZPL 
which is only used in ZFS-FUSE).

As part of this work I need to keep the code synchronized with 
OpenSolaris. I was in fact refactoring the rwlock functionality 
implemented on top of PThreads and ran into that issue, hence my question.

Regards,
Ricardo


-- 
<http://www.sun.com>    

*Ricardo Manuel Correia*

Lustre Engineering
*Sun Microsystems, Inc.*
Portugal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/zfs-code/attachments/20071205/89280800/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6g_top.gif
Type: image/gif
Size: 1257 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/zfs-code/attachments/20071205/89280800/attachment.gif>

Reply via email to