[zfs-discuss] orignal raidz code required

2010-07-27 Thread v
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.

regards
Victor
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] orignal raidz code required

2010-07-27 Thread Darren J Moffat

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
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] orignal raidz code required

2010-07-27 Thread v
Thanks Darren.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss