Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1338438rwb; Tue, 4 Oct 2022 20:25:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5QrJgPllVzkct64GhD3eMZNc5WAro0iSMdBYqLCJlcN8RaTwU4h7wQiVUDwBXlz/ffIe3B X-Received: by 2002:a17:907:2d88:b0:78c:f800:7252 with SMTP id gt8-20020a1709072d8800b0078cf8007252mr7635276ejc.441.1664940316760; Tue, 04 Oct 2022 20:25:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664940316; cv=none; d=google.com; s=arc-20160816; b=Sz94A9giZ1tiNt+BoEejLux+xX8T0atno0/FhZfqVeIJOwDU7dU0gvUmzJhXCIPL0h 5/6b69UDY4tZco1fqPWBQYd9plDin0UOhaYVhzAX49dCw5EBDeqWd0yxRABJHkpXy0Q8 caU9LwueU//NhXSYQv7wZ/JrvJPEUa6FLYAwXTfbxiwE2bUen5g/0nkM5DfLABoD+4cj lcfoj3ggetV17dwEGDKTRQtjpfsy6e4lyQUOcbAqQerh3hhaboqYDT0p5bi57GohmOWY dJk8cgnquPflxYmQXvYyH5FPPZS0Ki3kBkA/ALXrRxQx2CeCDlLej6SjuAt5onVMPuLD znnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=X/BfXLV0gyaYngRdF8woot+Drms2TABk8xtJrB4Xqow=; b=iBJeuVq9/RmskITUVZL00oAtK20+7XbGXhkV6vKIzfjSSKbKg08NdX4yguU8g3F6/v qgUlCUxRqU3Dtgpm4bLsXXV2Mydl85e6+jBvNaly6oPYr9tJR5oj0rQb/9mem1m3jgyG O93/yQKcLwsHtB5/y//PrdZvTkaUCls7DvfnY8Pw/ofEXH/w8yWKN3p4L8+K5ASf5mu3 hKv5m2IBq0iQVbzWvcOluzAYRflV8Uu1um71tztEBPslCNocRPlkteb1ShuY2Nk8mICx mPBgKkcY6OJbyF7T4ehP5MoxBsuNzINs93/IkDRsIR/qsiCwG5oSH7O5O/d0dIG8RuFW 5EjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FcChFZKO; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q15-20020a056402518f00b0044e73852b6asi12795447edd.133.2022.10.04.20.24.51; Tue, 04 Oct 2022 20:25:16 -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=@kernel.org header.s=k20201202 header.b=FcChFZKO; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229539AbiJEDBh (ORCPT + 99 others); Tue, 4 Oct 2022 23:01:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbiJEDBb (ORCPT ); Tue, 4 Oct 2022 23:01:31 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1A295D10B; Tue, 4 Oct 2022 20:01:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A9496B81C76; Wed, 5 Oct 2022 03:01:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DD2AC433C1; Wed, 5 Oct 2022 03:01:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664938887; bh=2K4KiV7cPFLSD3RGGa7NSZcyE05Kqz67W50GPiHXla8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FcChFZKOLy8PrM/3mS4FU94zl7cO7jcTJijAbPcaDeobVoGq4jgy9eN3FyoWQv06F xePczqWR+x6ZRMNwSItfmx2PUjFbdfKvMTHzI0y1/iqcNSwrKJ9RMatq+hvFwMZEbu GtzKO6mxx4N0EdH2anf7olBtuq5PStHtEenWCPNfmOwkuoObQMd2w2DfUoqBekEwbu OrzKStlqEVhUYHIRAErUwkMGbEJRj+iCphgIbz3kNJOx1iOJ4c7A8aHqO9CXDlVBXW ZakIdt3/9n0Ai9F4TZ49dpMytq0yLMG6PB/RnU9x/Pgaygg+0mMty/DvVbIUcv5kj8 PIQSjRCFA5jSA== Date: Tue, 4 Oct 2022 20:01:26 -0700 From: "Darrick J. Wong" To: Stephen Zhang Cc: Dave Chinner , Stephen Rothwell , linux-xfs@vger.kernel.org, Shida Zhang , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: Signed-off-by missing for commit in the xfs tree Message-ID: References: <20221004072302.345bfd4a@canb.auug.org.au> <20221003222103.GM3600936@dread.disaster.area> <20221004225012.501e11ed@canb.auug.org.au> <20221004210400.GO3600936@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 05, 2022 at 10:52:05AM +0800, Stephen Zhang wrote: > Dave Chinner 于2022年10月5日周三 05:06写道: > > As it is, I use the convention of putting an explicit From: tag in > > the commit message that matches the SOB so tools pulling stuff from > > mailing lists do the right thing with them (same as any third-party > > provided patch in a series). > > > > > That said... I think we should get in the habit of asking patch authors > > > to make sure that at least one of the email or name strings match > > > between the From and SOB tags. I can see how people who grok even less > > > about how Chinese names work than I do (read: lawyers) might get fussy > > > about this kind of thing. > > > > As per above, the normal solution is an explicit "From: " line > > that matches the SOB. It's just annoying that our new-fangled tools > > haven't encoded this long-standing convention to warn us when we > > pull a patch with a from-tag that doesn't match a sob-tag. > > > > Sorry, but I'm not sure whether what you mean is adding another "From: " line > right above the SOB tag like: > ==== > From: name2 > Date: Mon, 12 Sep 2022 xx:xx:xx +0800 > Subject: [PATCH ] xfs: fix xxx and xxx > > ... > the commit message > ... > > From: name //added line > signed-off-by: name > ... > ==== I think Dave means something like this patch of mine: https://lore.kernel.org/linux-xfs/166473478893.1083155.2555785331844801316.stgit@magnolia/T/#u From: "Darrick J. Wong" To: djwong@kernel.org Cc: linux-xfs@vger.kernel.org Date: Sun, 02 Oct 2022 11:19:48 -0700 Subject: [PATCH 3/4] xfs: set the buffer type after holding the AG[IF] across trans_roll From: Darrick J. Wong Currently, the only way to lock an allocation group is to hold the AGI and AGF buffers. If repair needs to roll the transaction while repairing some AG metadata, it maintains that lock by holding the two buffers across the transaction roll and joins them afterwards. However, repair is not the same as the other parts of XFS that employ this bhold/bjoin sequence, because it's possible that the AGI or AGF buffers are not actually dirty before the roll. In this case, the buffer log item can detach from the buffer, which means that we have to re-set the buffer type in the bli after joining the buffer to the new transaction so that log recovery will know what to do if the fs fails. Signed-off-by: Darrick J. Wong --- Notice how after the Subject: there is a blank line (which terminates the headers) followed by a new From: line in the body? And the name/email in that second From: line matches the SOB later on? --D > > Thanks, > Stephen.