From owner-svn-src-head@FreeBSD.ORG Mon Apr 23 13:23:27 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0031C1065674; Mon, 23 Apr 2012 13:23:26 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6374A8FC15; Mon, 23 Apr 2012 13:23:26 +0000 (UTC) Received: by qcsg15 with SMTP id g15so8295460qcs.13 for ; Mon, 23 Apr 2012 06:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; bh=ZizSvRyk3q1aW+K3HB0MgPw12XTulQUZrjAWZ6JXb4s=; b=m1bQggWPyir5yI5I0aOPQI4ZFYq4RN35P7r/wc353UpXMhAZ+epidhL1R8QxO8wVV2 pQ/B8NIHJmPWZE80oNeb1t+Rrn1yG3SUdNTsm9JoM/qFI/LDmKOBKsTxjjLH6GH/AbSm Cm3Y9up/I3PHuP/j96fMkhX2STotEq0Bi+HJw6xRnocW9r63E//7IUVKCwfCuuO0Q44g 3bujSGfsCFC4ifZXGCpEYvA9R9dR4BGAAttSU5Mns0VoeGfNzA9CBwPD76DKicQF7sli tE6svAVHNCjQW6qmAxHlGp7bCFo/+U8JaInHYsl0xNFmb8vvFQIbhfGO7fj7DBGuXUIh 7eGw== Received: by 10.224.202.193 with SMTP id ff1mr13713793qab.36.1335187400371; Mon, 23 Apr 2012 06:23:20 -0700 (PDT) Received: from kan.dyndns.org (c-24-63-226-98.hsd1.ma.comcast.net. [24.63.226.98]) by mx.google.com with ESMTPS id o7sm21663757qan.15.2012.04.23.06.23.18 (version=SSLv3 cipher=OTHER); Mon, 23 Apr 2012 06:23:18 -0700 (PDT) Date: Mon, 23 Apr 2012 09:23:11 -0400 From: Alexander Kabaev To: Alexander Motin Message-ID: <20120423092311.2be21b71@kan.dyndns.org> In-Reply-To: <201204231304.q3ND43Yg098748@svn.freebsd.org> References: <201204231304.q3ND43Yg098748@svn.freebsd.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/8kjeteoBYR9yJQpiR8+3/Nf"; protocol="application/pgp-signature" Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r234603 - head/sys/geom/raid X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2012 13:23:27 -0000 --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 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--