Date: Mon, 23 Apr 2012 09:23:11 -0400 From: Alexander Kabaev <kabaev@gmail.com> To: Alexander Motin <mav@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r234603 - head/sys/geom/raid Message-ID: <20120423092311.2be21b71@kan.dyndns.org> In-Reply-To: <201204231304.q3ND43Yg098748@svn.freebsd.org> References: <201204231304.q3ND43Yg098748@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/8kjeteoBYR9yJQpiR8+3/Nf Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 23 Apr 2012 13:04:03 +0000 (UTC) Alexander Motin <mav@FreeBSD.org> wrote: > Author: mav > Date: Mon Apr 23 13:04:02 2012 > New Revision: 234603 > URL: http://svn.freebsd.org/changeset/base/234603 >=20 > Log: > Add names for all primary RAID levels defined by DDF 2.0 > specification. >=20 > Modified: > head/sys/geom/raid/g_raid.c > head/sys/geom/raid/g_raid.h > head/sys/geom/raid/tr_raid1.c > head/sys/geom/raid/tr_raid1e.c >=20 > Modified: head/sys/geom/raid/g_raid.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/geom/raid/g_raid.c Mon Apr 23 12:18:38 > 2012 (r234602) +++ head/sys/geom/raid/g_raid.c Mon Apr > 23 13:04:02 2012 (r234603) @@ -277,31 +277,87 @@ > g_raid_volume_level2str(int level, int q case G_RAID_VOLUME_RL_RAID1: > return ("RAID1"); > case G_RAID_VOLUME_RL_RAID3: > + if (qual =3D=3D G_RAID_VOLUME_RLQ_R3P0) > + return ("RAID3-P0"); > + if (qual =3D=3D G_RAID_VOLUME_RLQ_R3PN) > + return ("RAID3-PN"); > return ("RAID3"); > case G_RAID_VOLUME_RL_RAID4: > + if (qual =3D=3D G_RAID_VOLUME_RLQ_R4P0) > + return ("RAID3-P0"); > + if (qual =3D=3D G_RAID_VOLUME_RLQ_R4PN) > + return ("RAID3-PN"); > return ("RAID4"); Copy & paste from raid-3 above? --=20 Alexander Kabaev --Sig_/8kjeteoBYR9yJQpiR8+3/Nf Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iD8DBQFPlVfFQ6z1jMm+XZYRApeoAKDNGCqlMedsIttUgDhBCeI2TUbBigCfd0h2 Bh32i3jzf11kY2iAZ5lnQcQ= =BYgO -----END PGP SIGNATURE----- --Sig_/8kjeteoBYR9yJQpiR8+3/Nf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120423092311.2be21b71>