From owner-freebsd-scsi@FreeBSD.ORG Sun Mar 6 14:13:20 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C12081065670 for ; Sun, 6 Mar 2011 14:13:20 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2362E8FC0A for ; Sun, 6 Mar 2011 14:13:19 +0000 (UTC) Received: by bwz12 with SMTP id 12so3455698bwz.13 for ; Sun, 06 Mar 2011 06:13:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=br+3XBbsyreUqbV9PbHn233XBZiNok0Ys86pg/mmp6I=; b=IXLTmnqCUH45aLq8EcN6AES1Cx/jWLwzQt6u2rqqbjQynbVTH6OGIYRDAkG3OAxYv1 6jxwkSPmwTVbKIUftn+p1bs4sKmxphDAYNdOPxP6YtJHfYaUQdkqrI66F2SzALzu1/Tb he/8hTG+OLytGIrR+c3XFspDELqSc7qB7DR8k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :x-enigmail-version:content-type:content-transfer-encoding; b=C2r+aNyOqkrj354aYpYazXfBIdUMTW2dIrvxrUrnrhO1Xw5VR13WABTKmsdxPRZZX7 us7fN9cNtoQHS1cHHf0Xcfjt9TECIoofIRVt9saoiqBjTvPrGKds95GDlL+YGtLZyMfr +uqc41BEvYMoPaLVnmlomWz6W+NtNCk06TSqM= Received: by 10.204.153.20 with SMTP id i20mr2386345bkw.208.1299420798458; Sun, 06 Mar 2011 06:13:18 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id l1sm1023679bkl.13.2011.03.06.06.13.16 (version=SSLv3 cipher=OTHER); Sun, 06 Mar 2011 06:13:17 -0800 (PST) Sender: Alexander Motin Message-ID: <4D73962D.3080908@FreeBSD.org> Date: Sun, 06 Mar 2011 16:11:57 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: FreeBSD-Current , freebsd-geom@freebsd.org, freebsd-scsi@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Warner Losh Subject: RFC: graid, first step done. X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 14:13:20 -0000 Hi. I would like to present for review and testing results of my and M. Warner Losh work on new GEOM-based ataraid(4) replacement - graid. At this moment we have implemented all required core functionality and the first set of transformation and metadata modules. Now we have implemented transformation modules to support such RAID levels: RAID0, RAID1, RAID1E, RAID10 and CONCAT. For all these levels all such features as reading, writing, rebuilding, I/O errors recovery and kernel dumping are supported. Metadata modules now written for Intel and JMicron RAID BIOS formats. JMicron format is minimalistic by itself, while Intel format is much more sophisticated, and now we support all of it features, except RAID level migration. Work on Promise (used by AMD) and SiliconImage formats is now in progress. Support for other metadata formats and RAID levels planned later. If somebody wants to help -- feel free to contact me to coordinate work. Patches are existing for HEAD, 8-STABLE and 7-STABLE branches: http://people.freebsd.org/~mav/graid/graid-head-20110305.diff http://people.freebsd.org/~mav/graid/graid-8-20110305.diff http://people.freebsd.org/~mav/graid/graid-7-20110305.diff Patches for HEAD and 8-STABLE are not very invasive and, if everything goes well, going to be committed to HEAD in few weeks. Patch for 7-STABLE, except graid, also includes massive update of the ATA and CAM code from 9-CURRENT. It will not be committed due to numerous ABI breakages, but can be interesting to some people. Just be aware that main focus there was on ATA subsystem -- SCSI drivers were not tested. Once completed, this project should remove last major show stopper for enabling CAM-based ATA subsystem by default in 9.x branch. I would really like it to be done before 9.0 release. Special thanks to Cisco Systems, Inc. and iXsystems, Inc. for sponsoring this project. -- Alexander Motin