Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp3091959rdb; Mon, 4 Dec 2023 17:12:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOjPbXxu8MQn4BsImbKuwAaoyI6ffC7aKvi3OXinxZZfFR2mT66lpyfFpU9Entxxj7nDUE X-Received: by 2002:a17:902:da84:b0:1d0:a2b2:6b0d with SMTP id j4-20020a170902da8400b001d0a2b26b0dmr1981923plx.4.1701738778110; Mon, 04 Dec 2023 17:12:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701738778; cv=none; d=google.com; s=arc-20160816; b=S3Jqhnh7eO92BbVhij8zlUahx+qnDdz3Ig3/PorHCfCGh7QQ38fhQl+Vro+7vU5Z+k XqcHSrlEiGrUHCtIaRGaYXIqaCsN9Ij0EGPQTXSHS3d03Yy7htYwiHHPRFEzF1dz25Ij P3m7HaB/u+CENVUVDj6duZLQmuHBl9YBE8gE2D35zDhteDG+FcfpmE7mbjgNCpsP+ati lMyGCxeuyVlOaT1Iwr0vwgLM1cb9jAxkydcUKVRhivW4mb7c4NNJYgLDJv4pRuQKGKXv XwNW/SndVCbiirz9Lf82ugiIsyL7F9kxVBNnllwLx5FbRVSED9wikOpzhYNFnGZ1Xmdx 9NQA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=L33oYQvZ1X9QshoXk8uWXk0doNVm+LX5qzUYAgX80+o=; fh=UFsmS9rz4QUzvdsWnSarqy9ryyh8HZZyiciItBvZPc4=; b=d1LeXr2G+F4ldE4xQyudOhmlw99rkoJ2qHPvZd4ALtZ1NQJQ9l0zJHe5uwmJE4Mvxd wYUvgG3QwJyWqLSGHVOiafOORVGxH9TugrAJFV97GZtiY0h4zho1zkAqduBfD6gQNe0A xlh3KcU0XCPLc9Tqb2OnsyAPFCLPRPOTDtVqz7nWwZxa4TTa4sfOoz/88jYOhrK2fUfy +Gb1MiUgdA8M2ga02EQxP4hxedOf94ylmjB2eYi5WLPt9GfERTb5prczEDW3E3dvmmrj chS/cftNd1CbW2y7tGljgCU2Fw4ehUeI7555OD64qHqfTMgWS7rLYdEdkkDv3LgN+Gnq Hc+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b=VU7SuEsn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id j7-20020a170902da8700b001cfb1db54f3si531923plx.431.2023.12.04.17.12.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 17:12:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b=VU7SuEsn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B51A78058A3C; Mon, 4 Dec 2023 17:12:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343743AbjLEBMn (ORCPT + 99 others); Mon, 4 Dec 2023 20:12:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231618AbjLEBMm (ORCPT ); Mon, 4 Dec 2023 20:12:42 -0500 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D9EDC3 for ; Mon, 4 Dec 2023 17:12:48 -0800 (PST) Received: by mail-il1-x135.google.com with SMTP id e9e14a558f8ab-35d4e557c4bso17749135ab.0 for ; Mon, 04 Dec 2023 17:12:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20230601.gappssmtp.com; s=20230601; t=1701738768; x=1702343568; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=L33oYQvZ1X9QshoXk8uWXk0doNVm+LX5qzUYAgX80+o=; b=VU7SuEsn4+VkVio2vG2VdHWoUeezNXSnAtmjZ+DhEFzBhQoa1J4yjkJzeqnrq8d3CL vytzg8aY41oWxrE0CJHwYdl0ycxun/khxo6pzrn1Z6XdynjHeunN2AiVjVyzkWxJN/7o /YxKCiAZfk5z1FgxlX5iBwGTpY2tZvI38VqnV8+xLmIFY5TKkpTExukfG7r/NABA/2d9 P84TekeOarKeDlotlxRY7DHBpDh7zP+dF9aW0rbrgQEZlAwk8yBR5CATYT9fxRXCikug FVW/DhDVCrRKd1nu1EFUAz03S2p3waZWaBZtPAWbXmplre0vgQZMy6oholY8mUfLOkDq 0APA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701738768; x=1702343568; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=L33oYQvZ1X9QshoXk8uWXk0doNVm+LX5qzUYAgX80+o=; b=CfrAQt6zKh0OC8WRt8SZ2MgTobr8SvkgzMbFyyaeRKddr/LGcw3idCbIGrOOGz+UFr Dqjdmkf4B3MfaZ9UVLtovThJgWP8WjrVeyATj39Bq1hX6I6rBCgNFtMZB0NpF586IeN7 W/hkKOSF2f7BjdwKEf9DlxKighvdDyrv6c9NnyJ3mjjYe5Z19jun7jmXOK179D2EYuk6 OAjZgi5iaKzlNm7NePU84toc8lZOglWWZiMartWYlS2Zz+emSlGQWF25bt3WV7C8tJ0m nvIPPrlBJvetRQOXtonyV6ip7zOyp+sHBKlGrgrheyEbRLv4Dl8jkAr8HNzOTcQpbmjK 0b9g== X-Gm-Message-State: AOJu0YxAs3tzqS9uJhwtvs7CGsJXgXC6RabTXpu8EysYtPVi9xbB16Mw ak+GRKSv16Z074j1joNxBVHMSw== X-Received: by 2002:a92:4a0d:0:b0:35d:63b2:48c4 with SMTP id m13-20020a924a0d000000b0035d63b248c4mr4733150ilf.65.1701738767991; Mon, 04 Dec 2023 17:12:47 -0800 (PST) Received: from dread.disaster.area (pa49-180-125-5.pa.nsw.optusnet.com.au. [49.180.125.5]) by smtp.gmail.com with ESMTPSA id s7-20020a634507000000b005bcebc93d7asm8199060pga.47.2023.12.04.17.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 17:12:47 -0800 (PST) Received: from dave by dread.disaster.area with local (Exim 4.96) (envelope-from ) id 1rAJzR-003y4I-03; Tue, 05 Dec 2023 12:12:45 +1100 Date: Tue, 5 Dec 2023 12:12:45 +1100 From: Dave Chinner To: Kunhai Dai Cc: chandan.babu@oracle.com, djwong@kernel.org, linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] xfs: adjust the offset of the log statistics line Message-ID: References: <20231204072644.1012309-1-daikunhai@didiglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231204072644.1012309-1-daikunhai@didiglobal.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 04 Dec 2023 17:12:55 -0800 (PST) On Mon, Dec 04, 2023 at 02:26:44AM -0500, Kunhai Dai wrote: > It would be more preferable to present xs_try_logspace and > xs_sleep_logspace on the log line. xs_try_logspace and xs_sleep_logspace are AIL tail pushing statistics. They are related to reservation space exhaustion, not journal operations, so they really are located in the correct stats namespace. Regardless of whether they are correctly located, we can't change the layout of this file like this - it forms part of the user kABI. The file format was defined back in June 2000 (early stages of the XFS port to Linux) and so any change to the layout of the file will break every application and script every written that parses it. So while it might be "preferable" to change the order of stats in the file to group them better, we simply cannot do that because it will break userspace. Cheers, -Dave. -- Dave Chinner david@fromorbit.com