Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2540950rdb; Sun, 3 Dec 2023 23:30:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHKpouw/EEeTzsBTBCOLcdb0qnN2xw4PQumMd+HX7bV9/UU212Q2UvoHjKtXceD/kGy8dB+ X-Received: by 2002:a05:6808:1814:b0:3b9:b494:f95 with SMTP id bh20-20020a056808181400b003b9b4940f95mr871889oib.14.1701675049565; Sun, 03 Dec 2023 23:30:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701675049; cv=none; d=google.com; s=arc-20160816; b=KeZxZHKg7edS+Bu75msJoEhtbP/cafjQNIDFbvtyaffOoVn8UiAtEtUQ3Di6AK6lR7 cjrQO4mWBa7NU8sJkSWORzlABV41KlC8wXRfO7AlNgRP/7Y51NVZiJTHJoE49T7ydFTP QNUUIUIAUDgpkI5JtRtuSnh/6ehVfnmvmmzdH/+wUby/Ff2mNkvQZuwZuYX9KeW7ObQS InhxH7cEvQqOSM3ea5M74f60Q+nUqDJS3wEGQkK0SQf+g0+3iyH6sBFoeEZ0OSXaIz7P LAl1/0OzPpH8jhfytEHjtxJVcMVqUQ6rW3mAA89W52p1I+aB0DnQvZKFs9EW53Y1LPjt yNeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tFnyVIZUv9YmJJL/VGm+He96lUVATZaR7lvymOlg0dA=; fh=sELMewWxqaVHq9aQ/095Yix4KglwJyhpGT8XwnFUf7E=; b=Zgj1TuSx5gcLdUCbCipRpWb7CzKJ8EjfvIC9LpM0/u5o7P/BC2HBH3tHviCdHoG4GJ 8k038EEXEJs3IN/Q/C7vgyKLyLa2qT0dUy3VGcwzBc/vA3cdkmHnsLhwqpKAEMNdSVjt zufoTA8Pdc36jJ7CIx7n3XA4uiZopuPcuYZoa1mGkyafDDqZtjoQICnjwbP8w3arYK4m wb0ufsQwNsa2XH0Uu1IY7pqeftH1aSvtlXL/fAGysnFgzH0+zpvXEPSlHqW6sCrARpaN q5So8WTiY2n0B6sQz4Ek18PmM/D0nC1SCDDpBR1iFtx2LDgWtI4vbUI5qGc8Ytz/K/DA +YmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id eb22-20020a056a004c9600b006ce5a09a817si541317pfb.402.2023.12.03.23.30.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 23:30:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 3A111807E536; Sun, 3 Dec 2023 23:30:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234592AbjLDH36 (ORCPT + 99 others); Mon, 4 Dec 2023 02:29:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229693AbjLDH35 (ORCPT ); Mon, 4 Dec 2023 02:29:57 -0500 X-Greylist: delayed 182 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 03 Dec 2023 23:30:00 PST Received: from mx10.didiglobal.com (mx10.didiglobal.com [111.202.70.125]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 3CB87F2; Sun, 3 Dec 2023 23:30:00 -0800 (PST) Received: from mail.didiglobal.com (unknown [10.79.71.32]) by mx10.didiglobal.com (MailData Gateway V2.8.8) with ESMTPS id 37F07184D80420; Mon, 4 Dec 2023 15:26:56 +0800 (CST) Received: from localhost.localdomain (10.79.64.101) by ZJY03-ACTMBX-03.didichuxing.com (10.79.71.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Mon, 4 Dec 2023 15:26:55 +0800 X-MD-Sfrom: daikunhai@didiglobal.com X-MD-SrcIP: 10.79.71.32 From: Kunhai Dai To: , CC: , , Kunhai Dai Subject: [PATCH] xfs: adjust the offset of the log statistics line Date: Mon, 4 Dec 2023 02:26:44 -0500 Message-ID: <20231204072644.1012309-1-daikunhai@didiglobal.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.79.64.101] X-ClientProxiedBy: ZJY03-PUBMBX-01.didichuxing.com (10.79.71.12) To ZJY03-ACTMBX-03.didichuxing.com (10.79.71.32) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 03 Dec 2023 23:30:13 -0800 (PST) It would be more preferable to present xs_try_logspace and xs_sleep_logspace on the log line. Signed-off-by: Kunhai Dai --- fs/xfs/xfs_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_stats.c b/fs/xfs/xfs_stats.c index 90a77cd3ebad..92ff3a22cbc9 100644 --- a/fs/xfs/xfs_stats.c +++ b/fs/xfs/xfs_stats.c @@ -36,7 +36,7 @@ int xfs_stats_format(struct xfsstats __percpu *stats, char *buf) { "dir", xfsstats_offset(xs_trans_sync) }, { "trans", xfsstats_offset(xs_ig_attempts) }, { "ig", xfsstats_offset(xs_log_writes) }, - { "log", xfsstats_offset(xs_try_logspace)}, + { "log", xfsstats_offset(xs_push_ail)}, { "push_ail", xfsstats_offset(xs_xstrat_quick)}, { "xstrat", xfsstats_offset(xs_write_calls) }, { "rw", xfsstats_offset(xs_attr_get) }, -- 2.27.0