Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2012 10:27:23 -0700 (PDT)
From:      Scott Long <scott4long@yahoo.com>
To:        John Baldwin <jhb@freebsd.org>, Alexander Motin <mav@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r234603 - head/sys/geom/raid
Message-ID:  <1335547643.283.YahooMailNeo@web45713.mail.sp1.yahoo.com>
In-Reply-To: <201204270745.16844.jhb@freebsd.org>
References:  <201204231304.q3ND43Yg098748@svn.freebsd.org> <201204270745.16844.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help





----- Original Message -----
> From: John Baldwin <jhb@freebsd.org>
> To: Alexander Motin <mav@freebsd.org>
> Cc: src-committers@freebsd.org; svn-src-all@freebsd.org; svn-src-head@freebsd.org
> Sent: Friday, April 27, 2012 5:45 AM
> Subject: Re: svn commit: r234603 - head/sys/geom/raid
> 
> On Monday, April 23, 2012 9:04:03 am Alexander Motin 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
> 
> We should probably add a separate header to hold DDF constants.  graid isn't
> the only place that uses them (e.g. mfi(4) uses it to describe volumes, so
> mfiutil(8) has its own DDF constants as well in mfiutil.h).
> 
> -- 

You mean src/sys/dev/ata/ata-raid-ddf.h?

That said, I trust DDF to be neither universal nor standard, and it's probably a futile micro-optimization to try too hard at this.  At the very least, leave MFI alone.


Scott




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