Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1859801rdh; Tue, 26 Sep 2023 05:57:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEHVbaQzyZ9Y99HOIRrXbCfpXMFguJYknS7pI78AQQUiDbbyFXXDq/SyjYjJrqRZq123p2f X-Received: by 2002:a05:6358:5916:b0:143:82e0:8cbc with SMTP id g22-20020a056358591600b0014382e08cbcmr9132354rwf.1.1695733049569; Tue, 26 Sep 2023 05:57:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695733049; cv=none; d=google.com; s=arc-20160816; b=FmizwdQBKKGKtsmK9z9bQot+ERE6g+HEE22SnPFwObdjSPTGPK0b0mhV450Cpsnu+l 6dPgwBYIGdP1KiE9pzXEG0oRIpxHSJXJ6K5j3lpfystN2nyNoh14KptqoSirGBB1llV6 6ISOwSaCDytLPfbJQ3buEhVCjjH7hObKqvZ/bHIe+WInydDHXay4HZW6KplfZ3n+GxYK mQwuAPyE215FSJVD4GVUGu0+YlqgRaqo3zvvTFbJLJlmYHvms67mtnkASMfeXY8maWc+ xD4P0RwqhcEfmOdD3IJTj73GO52Si4OViNKjPmvlKtcUHez6nVXJppBaZ/JoahdtENm6 bWOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=mLU06JRooA64WWeNfVb8WJXxu8rKh2vlVUkJa7RuASc=; fh=X4yJVt4gGmMz+z9nOG5lswDk1Zrh2pIwCSHSue5NMM8=; b=CeB/ipO4PJuLhE0MA4sYwB+Qu+r55Jkrr0MeSTj5f7fXs4idSnNE5fQ3YapYv+vKcd Oenvpe1NBB8pF6sltDSA673kVIgoZUyuBESuRBT8z9BAK7PpggHg95wXiRN28wSIegJV OU98Pv5pJO82jdbR3PI8mo01idUYMf01n6pcwjg3a5Gh51gZnx5omI/rLuj6luw6Equu at41HPi4eBoyS4LfOuUKDtX1UHx35oF345Cgs8QHFw342duEU8oQ5ir/6WSoTnyiyX24 0TJdu3R8stPmdOCmV0DJd5XdsQ9fZAYRuL0LMqBVOx4stoauTVLqFZn7tGiiJs3bB+bd TYoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=h72q3Jx0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id e2-20020a637442000000b00578a79e8f8bsi1907043pgn.551.2023.09.26.05.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 05:57:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=h72q3Jx0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 283D5801F999; Mon, 25 Sep 2023 23:16:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233751AbjIZGQz (ORCPT + 99 others); Tue, 26 Sep 2023 02:16:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233714AbjIZGQy (ORCPT ); Tue, 26 Sep 2023 02:16:54 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73F8DE9 for ; Mon, 25 Sep 2023 23:16:47 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2c147b96af8so91920581fa.0 for ; Mon, 25 Sep 2023 23:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ionos.com; s=google; t=1695709006; x=1696313806; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mLU06JRooA64WWeNfVb8WJXxu8rKh2vlVUkJa7RuASc=; b=h72q3Jx0CEOPL6G0HZtCcrljSmCdmoPmbxujjHoDTGZpJrn3kFjRGWowBwlNDtZVhL Ch98OfCw0RNX2AmqGTKVbhbgJKs0r04rDBM1EMZ0QlrAYvYRDtVBUUAqZJLS86ZiM3Ip WfWIBAxXazA/OL2hcswN3UZkbeClrTny5wn9vMxWi1hdAtsxC/8cifBQdj9rd+omYLW8 HgebMxj3WEvHmJJxdfw25H3+WZQr2GSfJnGJvM29BdOwoY3xncFqUSEyexstsvXIz0kQ pv4c0lS0aHeIF1IcF8og2lb6vS+f/v5ExlUmsboWrOsaGcoMzBQOv/J6ABqq1AWaCO2/ 8XeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695709006; x=1696313806; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mLU06JRooA64WWeNfVb8WJXxu8rKh2vlVUkJa7RuASc=; b=tFz673AGngspFBXXJAluUMVdoTHaJQ/Q3CofZUfgbhZy69J7tSWGBSPTFDTx5NJSLl 8Pjlw4Y8xpFFzRfD7BKPv7ltsc+UtszBvRSdNgGc87UtUmD7b5c8WX9d3UYeaswPWAD7 qRtiaI2gJRZmq87DZwd7Wc8JasVFBOnwLcRYaGKuBVYqada3mqLDdg67wW8tUXTLu/Qn wEwWirHbyeMcl1ALXBHnaZSX1yzMIimHHuFeEw2w1HVSEKkdB2kOr1RKQ/1oxK0i/qCD 6Cd2SVqTlAz5W/RzOGzhbSSPUILYeeFpzVb+xjLTtpQ8BiRCENW5MGCqhJVLZ2m3sSsr W3FA== X-Gm-Message-State: AOJu0Yw1xG7J/9VFlmfiXxt808U0FvcB0ZeQBt/HpUdeGkC0OnAQPWlN cIyWVnjb56slTYeNBLRsNobJgmHWgYcrjYCULT8QGg== X-Received: by 2002:a2e:b1d1:0:b0:2c0:d44:6162 with SMTP id e17-20020a2eb1d1000000b002c00d446162mr6869677lja.12.1695709005713; Mon, 25 Sep 2023 23:16:45 -0700 (PDT) MIME-Version: 1.0 References: <20230922062558.1739642-1-max.kellermann@ionos.com> In-Reply-To: From: Max Kellermann Date: Tue, 26 Sep 2023 08:16:34 +0200 Message-ID: Subject: Re: [PATCH 1/2] fs/ceph/debugfs: make all files world-readable To: Ilya Dryomov Cc: Xiubo Li , Jeff Layton , ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Mon, 25 Sep 2023 23:16:56 -0700 (PDT) On Mon, Sep 25, 2023 at 12:42=E2=80=AFPM Ilya Dryomov = wrote: > A word of caution about building metrics collectors based on debugfs > output: there are no stability guarantees. While the format won't be > changed just for the sake of change of course, expect zero effort to > preserve backwards compatibility. Agree, but there's nothing else. We have been using my patch for quite some time, and it has been very useful. Maybe we can discuss promoting these statistics to sysfs/proc? (the raw numbers, not the existing aggregates which are useless for any practical purpose) > The latency metrics in particular are sent to the MDS in binary form > and are intended to be consumed through commands like "ceph fs top". > debugfs stuff is there just for an occasional sneak peek (apart from > actual debugging). I don't know the whole Ceph ecosystem so well, but "ceph" is a command that is supposed to run on a Ceph server, and not on a machine that mounts a cephfs, right? If that's right, then this command is useless for me. Max