On 27/07/2010 09:20, v wrote:> Hi all,
> In Jeff''s blog:http://blogs.sun.com/bonwick/entry/raid_z
> It mentions original raid-z codes are 599 lines, where can I find it to
learn, current codes are a little big.
From the source code repository, use ''hg log'' and
''hg cat'' to find and
show the version you want.
Or you can use {OpenGrok on src.opensolaris.org and look at the history
there:
http://src.opensolaris.org/source/history/onnv/onnv-gate/usr/src/uts/common/fs/zfs/vdev_raidz.c
And as promised 599 lines of code (and that includes all the CDDL
copyright headers etc):
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/zfs/vdev_raidz.c?r=789%3Ab348f31ed315
--
Darren J Moffat