Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4109623imw; Thu, 7 Jul 2022 12:56:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uFzZoDuSeDfq4R2obaCJypnBqhCw4rM5gUCz6F2hkcZVXIeyeNE4PKRMkFFLsU9LX0o4xX X-Received: by 2002:a05:6a00:24c1:b0:518:c52f:f5 with SMTP id d1-20020a056a0024c100b00518c52f00f5mr54878633pfv.15.1657223792102; Thu, 07 Jul 2022 12:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657223792; cv=none; d=google.com; s=arc-20160816; b=YW9DhFiNqgblMZCuk12OqlBtuFwiLJSeqWacLwiLUAKXIOhSlwWttWmxwyX65Vedcn hwhqsY9yaTe3lQS5V5/4Rbodv2Fc5ufUfuZ/eF2+xjKXYJQUUNGoH9jnw6GSqCpRECwe 2Mnc2RlfUBOvSQ3+NMLWYEQFP74V61PYxBnhsPqLABBOGZOsWjAEw6/s6wWAbUT5QZvf 3zVQb52yL7UhDYd27f7e6ToHW6EGaaRthMuHPuBt0rc4vdFNFzd8lwKaJJKnGavRUr/s IxK4Mk4XgakKv4FZ3BYcABO6d6GUs4McyRyik92lvcZAXKLv+m0DWN+BcCfWHTYflbIO vvVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :message-id:date:cc:to:from:dkim-signature; bh=+o8pkZIhiPHM7Jw1oogE1u3DlZr0xeb1Ojroj1aZh9I=; b=YBX9OJ2qc6w9ig1WL5PdRTqg9vCgIy5EtNeqLZGmdKQxzHN20/jj1Jjzl3hGqymiND 9A1I0MKXkX5l/GSOTT1w+aRcCYtddIiQkz0WnFO9PmJYBwe0NU6yWgs6MrR0PKWeuk5V BuqMmTKFPEPjIx56OEcOCjmcumSJEtvA0x+296CXMILbyzYVR0NNO7vz6AY9fnjKgTMe 03/6ig+HL3BJsX3+O0bNSe8INJo5420VNwW8axjBCzpEWe2RoSTzKNbg38FAwhMl9Y8H 6QidxG6ERYQ4IMSC2bMfA/meIrx4KZ6W7hIOxy9JU8e4RCGxRkQ7Mh1B53eCvYws9Lzv aqIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@deltatee.com header.s=20200525 header.b="e9weN/gD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=deltatee.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p3-20020a63c143000000b0041203feea99si24282655pgi.238.2022.07.07.12.55.41; Thu, 07 Jul 2022 12:56:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@deltatee.com header.s=20200525 header.b="e9weN/gD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=deltatee.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236672AbiGGTPx (ORCPT + 99 others); Thu, 7 Jul 2022 15:15:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235542AbiGGTPw (ORCPT ); Thu, 7 Jul 2022 15:15:52 -0400 Received: from ale.deltatee.com (ale.deltatee.com [204.191.154.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2879959249; Thu, 7 Jul 2022 12:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deltatee.com; s=20200525; h=Subject:MIME-Version:Message-Id:Date:Cc:To:From :references:content-disposition:in-reply-to; bh=+o8pkZIhiPHM7Jw1oogE1u3DlZr0xeb1Ojroj1aZh9I=; b=e9weN/gDx4HMD4fLo/qgjp4kIP 1Re6UaQ/yZodFjBo5Eymq0CCQnA2Dw0EwPgBbFaFAZytLvA4GG+N9E0d8qy++NLUr70HC2dWNUK3v GZxY9K04gFh1QNSSFGUultO6BY0SRuWGipWUfRrcmRo+AFZ4lE+zr5IfmxfKzXwVMB6Cw0oIczrxR 6NmiV6XFB9x2WgT0r3P3axeMHGgaVVLzXVQmAJk22I7ARq96mTjgLwKwCjjA72Mdd9ocTDiuljKRi davX8qtBSezou6HAMNd13R7FHV+LFp7LQyHKh3V4Ac/6y16qRu1X8ItKRdIRvTkeeVCuLGCWw8qiM 1d6PeKnA==; Received: from cgy1-donard.priv.deltatee.com ([172.16.1.31]) by ale.deltatee.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o9Wyb-0099KS-L7; Thu, 07 Jul 2022 13:15:50 -0600 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.94.2) (envelope-from ) id 1o9Wya-001ERT-7Z; Thu, 07 Jul 2022 13:15:48 -0600 From: Logan Gunthorpe To: linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, Song Liu Cc: Guoqing Jiang , David Sloan , Logan Gunthorpe Date: Thu, 7 Jul 2022 13:15:31 -0600 Message-Id: <20220707191533.293795-1-logang@deltatee.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, song@kernel.org, guoqing.jiang@linux.dev, David.Sloan@eideticom.com, logang@deltatee.com X-SA-Exim-Mail-From: gunthorp@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Subject: [PATCH 0/2] Raid5 Bug Fixes X-SA-Exim-Version: 4.2.1 (built Sat, 13 Feb 2021 17:57:42 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey, Please find two patches with fixes to the raid5 code. The first patch fixes a bug in my recent commit that causes data corruption in very specific circumstances. The second patch fixes a theoretical issue with nested waits in code that was recently cleaned up in the previous series (though the issue always existed). Thanks, Logan -- Logan Gunthorpe (2): md/raid5: Fix sectors_to_do bitmap overflow in raid5_make_request() md/raid5: Convert prepare_to_wait() to wait_woken() api drivers/md/raid5.c | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) base-commit: ff4ec5f79108cf82fe7168547c76fe754c4ade0a -- 2.30.2