From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 428C7C433DB for ; Thu, 4 Feb 2021 10:55:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E918E64DDD for ; Thu, 4 Feb 2021 10:55:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235447AbhBDKzk (ORCPT ); Thu, 4 Feb 2021 05:55:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234873AbhBDKzj (ORCPT ); Thu, 4 Feb 2021 05:55:39 -0500 Received: from mail.bitfolk.com (mail.bitfolk.com [IPv6:2001:ba8:1f1:f019::25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C474C061573 for ; Thu, 4 Feb 2021 02:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bitfolk.com; s=alpha; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=kF8waiFxbtyf+atYBuynw6nkJM0tRtbwVLDSrHUZxCM=; b=cFQdW24iuK0g3jNNU8yKYOzSIBwK4zq3iLJRbRe7JPIULQwuQYJGfUxfC7EQDfS9dG1FAnBclG1mia/8EeY4TFGdS7/jeukKY0AFRnEtak7Q/TGc5nz9PBRMaIYmraFnhPmKt5suK4SYA72nE7mr0IYGw6CPkN9WzaK8Q9I43fX0+NdnYQ3Vr7F5MaSC8rnEBTuZOzPTiIWzU+XwY/zcydcjrbI3omS6J5q+diYl+rKdddB5rnVDpI3t3cYnZi4Svl87/JxJI1RrgEl2wEio9ssuLPmma+UpDe4hbL4a5jVDOw2GDv5xtcTQMCJ4G0QsGkNAR2L+qw9Oe4454t7yAQ==; Received: from andy by mail.bitfolk.com with local (Exim 4.84_2) (envelope-from ) id 1l7cHp-0005Na-MJ; Thu, 04 Feb 2021 10:54:57 +0000 Date: Thu, 4 Feb 2021 10:54:57 +0000 From: Andy Smith To: linux-btrfs@vger.kernel.org Cc: linux-raid@vger.kernel.org Subject: Re: put 2 hard drives in mdadm raid 1 and detect bitrot like btrfs does, what's that called? Message-ID: <20210204105457.GI3712@bitfolk.com> Mail-Followup-To: linux-btrfs@vger.kernel.org, linux-raid@vger.kernel.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: OpenPGP: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc X-URL: http://strugglers.net/wiki/User:Andy User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: andy@strugglers.net X-SA-Exim-Scanned: No (on mail.bitfolk.com); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-raid@vger.kernel.org Hi Cedric, On Wed, Feb 03, 2021 at 08:33:18PM +0100, wrote: > it's called "dm-integrity", as mentioned in this e-mail: > https://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg93037.html If you do this it would be very interesting to see performance figures for the following setups: - btrfs with raid1 meta and data allocation - mdadm raid1 on raw devices - mdadm raid1 on dm-integrity (no encryption) on raw devices - mdadm raid1 on dm-integrity (encryption) on raw devices just to see what kind of performance loss dm-integrity and encryption is going to impose. After doing it, it would find a nice home on the Linux RAID wiki: https://raid.wiki.kernel.org/index.php/Dm-integrity Cheers, Andy