Hi all, In Jeff''s blog: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
On 27/07/2010 09:20, v wrote:> Hi all, > In Jeff''s blog: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: 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): src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/zfs/vdev_raidz.c?r=789:b348f31ed315 -- Darren J Moffat
Thanks Darren. -- This message posted from opensolaris.org