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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 118E6C7EE2F for ; Wed, 31 May 2023 07:57:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234968AbjEaH5c (ORCPT ); Wed, 31 May 2023 03:57:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234983AbjEaH5S (ORCPT ); Wed, 31 May 2023 03:57:18 -0400 Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09070198E; Wed, 31 May 2023 00:56:06 -0700 (PDT) Received: from [192.168.0.2] (ip5f5ae86a.dynamic.kabel-deutschland.de [95.90.232.106]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id B64BB61E4052B; Wed, 31 May 2023 09:54:23 +0200 (CEST) Message-ID: Date: Wed, 31 May 2023 09:54:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v6 15/20] md: raid1: check if adding pages to resync bio fails To: Johannes Thumshirn , Song Liu , Christoph Hellwig Cc: Jens Axboe , Hannes Reinecke , Chaitanya Kulkarni , Damien Le Moal , Ming Lei , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, dm-devel@redhat.com, linux-raid@vger.kernel.org, Mike Snitzer , Matthew Wilcox , Dave Kleikamp , jfs-discussion@lists.sourceforge.net, cluster-devel@redhat.com, Bob Peterson , Andreas Gruenbacher , Mikulas Patocka , gouhao@uniontech.com, Damien Le Moal References: <20230531042502.GM32705@lst.de> Content-Language: en-US From: Paul Menzel In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Dear Johannes, Thank you for your patches. Am 31.05.23 um 06:58 schrieb Song Liu: > On Tue, May 30, 2023 at 9:25 PM Christoph Hellwig wrote: >> >> To me these look like __bio_add_page candidates, but I guess Song >> preferred it this way? It'll add a bit pointless boilerplate code, >> but I'm ok with that. > > We had some discussion on this in v2, and decided to keep these > assert-like WARN_ON(). it’d be great if you added a summary/note of the discussion to the commit message. Kind regards, Paul