Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36745402rwd; Tue, 11 Jul 2023 05:19:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlESex/l0tPI5lhNt6Vu6+Mf/WthtABMetFYn0IVHzQGxM3eP5yTDktQAdKV9F0pAEIp5/jM X-Received: by 2002:a05:6a00:158d:b0:668:6eed:7c0f with SMTP id u13-20020a056a00158d00b006686eed7c0fmr15427821pfk.12.1689077962173; Tue, 11 Jul 2023 05:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689077962; cv=none; d=google.com; s=arc-20160816; b=NM+RwtQWLTUGj6X/LR2wbpcISusIZKD6kHCqfnn2JAL0Pz5oVGvkyhqqC+szOVwQjI xMgfbcUJT4wnfNZNk8JD0ujbwubDs8JVFPa7VdqTLfiL+PeFB1ApTQeQHL+MZFrLjpBc sfkhDy2ID3jI+Tj00fkjCo7mY9Zr8cYSsoGr1l8CGmJuIjkibwmLHdNUW6WBa8PMsqWA pyjgcO6bADskuDKHY2WWaO+FE93nYQVqiXGSV/y8av0rXdhPOn7v8Ai3nYxjgaUdxZBu t94CK5NhsZr03b707axTCuF/3vu0FoAyGo6hNM/0hUdG2fgVg9IHSq3eKj/Sjy3xJCeP p8jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:mime-version:date :dkim-signature:message-id; bh=xAlCKMbHrJaFchyjxLhK4XN3M9/LmqiAnoNyHkr0+GY=; fh=jOguULFzKD0eP94aYDSt0kpm1rHPvAOwZRdRG2JmQN4=; b=Buep3KqSEZ4OPhNog+9RxbNKlijSbtOyXm9fk5C/S6yTWC2PL02UXqZcMmFqQg9OyL eDtk2Tu8oKuCrqVDWmpR4KDUN2bJC3Y+lpwpsfASUvSdld6DVc0wxflnVmcm/sD7hZBB fVgJh3hyROToaT5+Orbtb5hy6gjDrcdCuWCOWUSEs2ksF86NvFj8wJEmzYss9jpVvZcz h9DVWKeiao2iHDDDBCszdCkeF2G/GivMUzMzsuS9i1J86P/SLple5obkGSzloDIy2A3l R8SacCdUXGY9XXHzPeNvogksXFWpJpyNYy9MddSv6ZPYsG+D/BiNicf7L/ikX4h7SmtJ 1Ntg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=EcPgXd6j; 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=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9-20020a63df49000000b00553ebb05d23si1330720pgj.70.2023.07.11.05.18.45; Tue, 11 Jul 2023 05:19:21 -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=@linux.dev header.s=key1 header.b=EcPgXd6j; 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=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230437AbjGKLwY (ORCPT + 99 others); Tue, 11 Jul 2023 07:52:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231218AbjGKLwU (ORCPT ); Tue, 11 Jul 2023 07:52:20 -0400 Received: from out-33.mta1.migadu.com (out-33.mta1.migadu.com [IPv6:2001:41d0:203:375::21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B79711D for ; Tue, 11 Jul 2023 04:52:19 -0700 (PDT) Message-ID: <6825f687-9573-51eb-bb89-17eadb60f71b@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1689076337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xAlCKMbHrJaFchyjxLhK4XN3M9/LmqiAnoNyHkr0+GY=; b=EcPgXd6jVyp0eZFnTWRCJaE4qOA3TO+dNOwpZqCFhTdoSIb4pG5wgivWJtQkYygUMOTwFj UBPjPNqkcRVdiX0cyG9sPd4O6jbu7h0AjRCxENcQWrFEqG8SxTGInP4MYhbI1vQwyKV2gq R8kVaCHJqWKVuy5SryRBTn0jYz1ImKk= Date: Tue, 11 Jul 2023 19:52:11 +0800 MIME-Version: 1.0 Subject: Re: [PATCH 1/2] blk-flush: fix rq->flush.seq for post-flush requests Content-Language: en-US To: Christoph Hellwig Cc: axboe@kernel.dk, ming.lei@redhat.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, zhouchengming@bytedance.com References: <20230710064705.1847287-1-chengming.zhou@linux.dev> <20230710133024.GA23157@lst.de> <4431d779-e6e7-aff1-5cf8-4147de974d8d@linux.dev> <20230711113126.GA26978@lst.de> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Chengming Zhou In-Reply-To: <20230711113126.GA26978@lst.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT 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_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 2023/7/11 19:31, Christoph Hellwig wrote: > On Tue, Jul 11, 2023 at 07:06:20PM +0800, Chengming Zhou wrote: >> Ok, will add a Fixes tag and send it as a separate patch since it's a bug fix. > > Btw, it's probably not worth resending patch 2 until we've figured out > and dealt with the SATA flush regression that Chuck reported. Ok, I will not resend patch 2. As for the patch 1, should I resend it as a separate patch or just put it in that series [1] before other flush optimizations ? I search on the block mail list, find the issue [2] you mentioned, will look into it too. [1] https://lore.kernel.org/lkml/20230707093722.1338589-1-chengming.zhou@linux.dev/ [2] https://lore.kernel.org/linux-block/7A57C7AE-A51A-4254-888B-FE15CA21F9E9@oracle.com/