Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754860AbZDVMfi (ORCPT ); Wed, 22 Apr 2009 08:35:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752853AbZDVMf0 (ORCPT ); Wed, 22 Apr 2009 08:35:26 -0400 Received: from mail.tmr.com ([64.65.253.246]:41216 "EHLO partygirl.tmr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752707AbZDVMfZ (ORCPT ); Wed, 22 Apr 2009 08:35:25 -0400 Message-ID: <49EF0EE7.2090208@tmr.com> Date: Wed, 22 Apr 2009 08:34:47 -0400 From: Bill Davidsen Organization: TMR Associates Inc, Schenectady NY User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090328 Fedora/1.1.15-3.fc9 SeaMonkey/1.1.15 MIME-Version: 1.0 To: Goswin von Brederlow CC: "H. Peter Anvin" , Matti Aarnio , Jesper Juhl , Prakash Punnoor , Michael Tokarev , linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, neilb@suse.de Subject: Re: Proposal: make RAID6 code optional References: <200904180946.27722.prakash@punnoor.de> <49E98AD2.8060601@msgid.tls.msk.ru> <200904181117.03418.prakash@punnoor.de> <20090418145850.GD28512@mea-ext.zmailer.org> <49EDD11E.2030309@tmr.com> <49EE00F9.6090000@zytor.com> <87ljptm59f.fsf@frosties.localdomain> In-Reply-To: <87ljptm59f.fsf@frosties.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1467 Lines: 42 Goswin von Brederlow wrote: > "H. Peter Anvin" writes: > > >> Bill Davidsen wrote: >> >>> It would seem that that space could be allocated and populated when >>> raid6 was first used, as part of the initialization. I haven't looked at >>> that code since it was new, so I might be optimistic about doing it that >>> way. >>> >> We could use vmalloc() and generate the tables at initialization time. >> However, having a separate module which exports the raid6 declaration >> and uses the raid5 module as a subroutine library seems easier. >> >> -hpa >> > > Combine the two. > > The raid6 module initializes the tables for raid6 and uses the raid5 > module as subroutine library. > My thought was that by saving almost all of the increased size of the raid6 capability it greatly reduces the need to have yet another module. It doesn't look as if the actual added code for raid6 is all that large. -- bill davidsen CTO TMR Associates, Inc "You are disgraced professional losers. And by the way, give us our money back." - Representative Earl Pomeroy, Democrat of North Dakota on the A.I.G. executives who were paid bonuses after a federal bailout. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/