Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2012 19:36:50 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Alexander Kabaev <kabaev@gmail.com>
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:  <4F958522.20506@FreeBSD.org>
In-Reply-To: <20120423092311.2be21b71@kan.dyndns.org>
References:  <201204231304.q3ND43Yg098748@svn.freebsd.org> <20120423092311.2be21b71@kan.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/23/12 16:23, Alexander Kabaev wrote:
> 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
>>
>> Log:
>>    Add names for all primary RAID levels defined by DDF 2.0
>> specification.
>>
>> 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
>>
>> Modified: head/sys/geom/raid/g_raid.c
>> ==============================================================================
>> --- 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 == G_RAID_VOLUME_RLQ_R3P0)
>> +			return ("RAID3-P0");
>> +		if (qual == G_RAID_VOLUME_RLQ_R3PN)
>> +			return ("RAID3-PN");
>>   		return ("RAID3");
>>   	case G_RAID_VOLUME_RL_RAID4:
>> +		if (qual == G_RAID_VOLUME_RLQ_R4P0)
>> +			return ("RAID3-P0");
>> +		if (qual == G_RAID_VOLUME_RLQ_R4PN)
>> +			return ("RAID3-PN");
>>   		return ("RAID4");
>
> Copy&  paste from raid-3 above?

Fixed at r234603. Thanks.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F958522.20506>