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 E13BEC001E0 for ; Tue, 8 Aug 2023 21:42:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230106AbjHHVmX (ORCPT ); Tue, 8 Aug 2023 17:42:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbjHHVmW (ORCPT ); Tue, 8 Aug 2023 17:42:22 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFD6110C for ; Tue, 8 Aug 2023 14:42:21 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-5643140aa5fso859572a12.0 for ; Tue, 08 Aug 2023 14:42:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20221208.gappssmtp.com; s=20221208; t=1691530941; x=1692135741; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=m12kzZN53IMQvTnsANViF0li6YYyhC19zBBHQ0jIm7I=; b=OkeUWhkbXJYC83xSHTdERH+GDd/onOYGF9X/YhejGcbkv5o8BdT//Lw6k7l0Hn278i VfROO2znwsiBA3RKhmOmsH0Fppj7eMhfgfClGVRcz5cUmuyckpiptwFB/HSGdRs6PGpO 5q2BX2CRpB/O7Jj2tGxBIDF24Fhp36KOnFO/Y/LhzxTnbX0crsewjJOU1BdINwybSJo/ 8TciXuEUs1Z5ypnMkoExT7Sol3z4xbBipbtgoopbj1JaF9EmL/rChRUDcSEkLTCpa4ES hUO00yEol78psLo6qYKHRCcndBPxzQt/de/KcGS6cTDnFE5OXIhQ98IJE3Yit0Uo1B1B N0nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691530941; x=1692135741; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m12kzZN53IMQvTnsANViF0li6YYyhC19zBBHQ0jIm7I=; b=OJeyVF9zsI9JMcZEQT4gMhyww0arhJtJ9FxlHcGfRWn7tLBh1OHWOMR+CBmpdPv8v+ G3Jof5xgylLi+y6LGsCh6F9NEpeunc5zhoSL5fA4PuGqcZR9vQT3q6r3JaOpv4cVHQyJ 0echtD+/1vWtpX7c/bM2jGVJVoUyhn6/mYZ1oa/MMZKp48FVE8+5moAIZ7N0MjL4bfGC ZtLGDXsOnO/IbC2t/C39lgoKuTZYytJnofO7sGz5cU0cqtO7hpLkQ5QEvU9ctwe4nRta Yrk+uEp/lO6Zk+yfS3ZaOc52nqTCfftdKBxvcMOtzskxLdMJZZ5wBLpYLd5Kkjs7z8Ui O7Lw== X-Gm-Message-State: AOJu0YyRt1COhQhhQXemPyA1H91+g0uxTAewH3BTNzYF26HAwI7NTzW5 90LnnWuq0vCui5oCvLTDRyQGuA== X-Google-Smtp-Source: AGHT+IEnl0gcgXkpar0L9ffaoVnAGPr9xosKw6vvVcOstkNGhnJRTyKmFHqPJdmD/cgEk/xlRO5BxQ== X-Received: by 2002:a17:902:e88f:b0:1bb:d7d4:e2b with SMTP id w15-20020a170902e88f00b001bbd7d40e2bmr1076777plg.0.1691530941128; Tue, 08 Aug 2023 14:42:21 -0700 (PDT) Received: from [127.0.0.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id x4-20020a170902ea8400b001b53953f306sm7338861plb.178.2023.08.08.14.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 14:42:20 -0700 (PDT) From: Jens Axboe To: tj@kernel.org, josef@toxicpanda.com, chengming.zhou@linux.dev Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, zhouchengming@bytedance.com In-Reply-To: <20230804070609.31623-1-chengming.zhou@linux.dev> References: <20230804070609.31623-1-chengming.zhou@linux.dev> Subject: Re: [PATCH] blk-iocost: fix queue stats accounting Message-Id: <169153093995.139918.10632912851603759401.b4-ty@kernel.dk> Date: Tue, 08 Aug 2023 15:42:19 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-034f2 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 04 Aug 2023 15:06:09 +0800, chengming.zhou@linux.dev wrote: > The q->stats->accounting is not only used by iocost, but iocost only > increase this counter, never decrease it. So queue stats accounting > will always enabled after using iocost once. > > Applied, thanks! [1/1] blk-iocost: fix queue stats accounting commit: c992226e984b93b316005ae4b12f2dce1e11630c Best regards, -- Jens Axboe