Looking at where the Apple SL beta bits got to (inferring from the
pool version) and cross-relating with the zpool_main.c history [1], it
looks like Apple's 10a286 bits were forked from July/August 2008. I've
narrowed it down (using the Hg repository identifiers)
usr/src/cmd/zpool/zpool_main.c - >= 7046:361307 (7Jul2008) and <
7265:cc18862247da (1Aug2008).
At the moment, we're on onnv_74, which is 17 September 2007. So we're
about a year behind what Apple shipped, and about two-three years
behind reality.
There are some segfaults with onnv_75 that I'm investigating; they
correspond with the refactoring of the zpool properties (introduced in
the 19th Sept 2007 change to zpool_main, with bug 6565437). Obviously
we need to unclog that before we can move forwards.
To those asking 'Is there a version I can compile which gives pool
version x' where x > 8, the answer is 'no, not yet'. We obviously have
to move forward through the ranks, and whilst progress is being made,
it's being slow - roughly, depending on how much time I get.
Anyway, I did the analysis of where Apple had got up to, and figured
I'd persist it in the group traffic for those wanting to measure how
close we were to the Apple SL bits.
FYI you can find what versions of the pool by looking at
'zpool_main.c' since it records any changes there. You can also see
when they were available in the bits e.g. [3] suggests zpool version
11 came with onnv_94. You can thus tell it came in with hg revision
7046, or commit 361307ae060d in July 2008. (This is the bounds I used
above, fairly obviously; the upper bound here is when pool version 12
[5] was added [6], which looks like it corresponds with onnv_96.
Alex
[1] http://src.opensolaris.org/source/history/onnv/onnv-gate/usr/src/cmd/zpool/zpool_main.c
[2] http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6565437
[3] http://hub.opensolaris.org/bin/view/Community+Group+zfs/11
[4] http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/zpool/zpool_main.c?r=7046%3A361307ae060d
[5] http://hub.opensolaris.org/bin/view/Community+Group+zfs/12
[6] http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/zpool/zpool_main.c?r=7265%3Acc18862247da
> So, we're up to onnv_74 at the moment (from onnv_72) but it looks like upstream has dried up, around onvv_134. It looks like Oracle aren't going to do any more development in public until the next version of Solaris comes out.
Actually the source dried up after onnv_147, ie around 6 months worth of changes since 134.
Illumos have back ported a lot of those fixes to "134"; you may want to consider using them as your upstream. They might be more amenable than Oracle to taking portability changes - once you get that far of course ;-)
Cheers,
Chris