Subject: Re: zfs target platform
To: Oliver Gould <ogould@olix0r.net>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 05/03/2007 19:25:32
On Thu, 3 May 2007 08:43:51 -0400
Oliver Gould <ogould@olix0r.net> wrote:

> Hello Everyone-
> 
> I'm starting to set up a NetBSD/SolarisExpress dual-boot system to
> develop and test ZFS on this summer.  I'll eventually be able to create
> zpools in NetBSD and then test them on Solaris; and if the summer goes
> /really/ well, vice versa.
> 
> My question is: what NetBSD version should I target?  I'll want to take
> advantage of any new APIs (newlock2, etc), though I won't want things to
> change under me over the summer, either.  Are other API changes expected
> in the near future that I should be aware of, or is a current -current
> just fine?
> 
> Any thoughts/advice on the matter?

Yes, if I'm not wrong zfs uses atomic ops. There's a branch called
thorpej-atomic (Jason R. Thorpe is one of your mentors), you'll have to
take a look at the primitives implemented there and use them appropiately.

This is just to avoid having new code, if you can use the atomic API
from this branch, it will be easier.

-- 
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish