From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: Triple parity and beyond Date: Wed, 20 Nov 2013 10:43:09 -0800 Message-ID: <1fe6f763-a5a4-4cc7-b23d-7928b0925f09@email.android.com> References: <528A90B7.5010905@zytor.com> <528AA1EB.3010909@zytor.com> <528B3A6F.2010304@hesbynett.no> <528C8F8E.9030908@hesbynett.no> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Andrea Mazzoleni , David Brown Cc: linux-raid@vger.kernel.org, linux-btrfs@vger.kernel.org, David Smith List-Id: linux-raid.ids It is also possible to quickly multiply by 2^-1 which makes for an interesting R parity. Andrea Mazzoleni wrote: >Hi David, > >>> The choice of ZFS to use powers of 4 was likely not optimal, >>> because to multiply by 4, it has to do two multiplications by 2. >> I can agree with that. I didn't copy ZFS's choice here >David, it was not my intention to suggest that you copied from ZFS. >Sorry to have expressed myself badly. I just mentioned ZFS because it's >an implementation that I know uses powers of 4 to generate triple >parity, and I saw in the code that it's implemented with two >multiplication >by 2. > >Ciao, >Andrea -- Sent from my mobile phone. Please pardon brevity and lack of formatting.