Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1870617rdh; Tue, 26 Sep 2023 06:11:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFciTLyd/NaJPXn6csqG36b5/aUfw7T0zguKYo9eCf+a7zSO/DFssR1TskXBD2hACinGR6x X-Received: by 2002:a05:6e02:2189:b0:351:2227:28d1 with SMTP id j9-20020a056e02218900b00351222728d1mr13992923ila.17.1695733885731; Tue, 26 Sep 2023 06:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695733885; cv=none; d=google.com; s=arc-20160816; b=oZP4ye9ykBv8XpzEb36EC1WOdcyw1LgBPEhIiM83fx5M2CGlf2xkEuta7KxHb/26iM ck+CDBXjGZCpcc3fMs2uzm3c5A5y5HZMbS6jOnj6ek5vuxspiDSocCJYr/SF7DT++foc xYZl4WVHu/UpWVW/0Bt/RW/kwcVThKwGWTr85gB4RnhrF/Gl5R6DtvIgB1f6vfSHBQJ5 mxcAsBIEWBeZU803tXkvrtLgTTaSWfL76hpqPFr8oRF/sDXaFBB+RSXG1vzclp11cpyf LjFEZg4AAtbFQr0NVjO0En68a8DFmjKPojIUy/SoSArPK7eZd2Yo4TzxYHk8txgO0ees J0Xw== 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=6J+OLpxrnRzkDOkIZ6CCVdIXdCfplR7EMqlJwZEj/uY=; fh=AnB3P8VVLsAmo3IQJYG1FWljy5suCvCnpe4pnEGPlSw=; b=YCM7wz2JZ37U9e+QInLXU/r7Cgx12Qgj5E5KmpHVp7MBxLehDLSoJak2Ztxw4Sv+9w ZOS3XLN6gnbN9GChy17xPa/DyCcwTVTM4M6cXfZ0PhsMQ+Mb+tEcwBt7NaA+J9yd03h9 l/JxS8xcicbWmvjnEJhDPI20OyfUVoghFA9uGBMMYdEL4uZyDbi6am5+dP+k+mvj+QcU iEtroJPnf6dawjVWitLfQ3qIsMIkJ/3v0R708FVgr7UOsLyNZImAeUB299OoLFId8wxs O01fu5K/msUpo5pwnu52np0gBsGw4zM4S06BnVyzG2C5mSO+yqoTb76W+LbHsek8Q+XI dqdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XN3xv64x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id r20-20020a6560d4000000b00564f223ef05si12590782pgv.11.2023.09.26.06.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 06:11:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XN3xv64x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 91744833F8C4; Tue, 26 Sep 2023 01:46:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233986AbjIZIqN (ORCPT + 99 others); Tue, 26 Sep 2023 04:46:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbjIZIqL (ORCPT ); Tue, 26 Sep 2023 04:46:11 -0400 Received: from mail-oo1-xc36.google.com (mail-oo1-xc36.google.com [IPv6:2607:f8b0:4864:20::c36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACF289D; Tue, 26 Sep 2023 01:46:02 -0700 (PDT) Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-57b8cebf57dso3424990eaf.0; Tue, 26 Sep 2023 01:46:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695717962; x=1696322762; 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=6J+OLpxrnRzkDOkIZ6CCVdIXdCfplR7EMqlJwZEj/uY=; b=XN3xv64xKDqzBlyU2FxpTl3T0k/KbV8ZMiXl81p25fRcN7lwBbHg6LkvMhjL1GyzWF TYE+k+bcVBvmQsbs7re6/9NrOdJNtdpn69lxDViVoMwvY9MimMQ6BROXNiTZjKiF95oQ UAESuG9WlQ/pzrLX9T6P/qPyE1wf49QCDecuVzlFAf2APk1aJR0HzefnugiiuAIScTuH HvsD8wnrEOi6b1aBAnYs2uoWPQHWtvmUmIsmT4xYKSFMXlc2j/mkkvuWEN4EyU/ZWg0I OPwbygUf5NKq2MUI30CXejAS3Uqgc3VfI6aPa22nPH2AydWVQhykCG1WPTbY5swzJZYL R0Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695717962; x=1696322762; 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=6J+OLpxrnRzkDOkIZ6CCVdIXdCfplR7EMqlJwZEj/uY=; b=Mc/bu4LnX0/E0d6bY8tMOEOLZZavTABRwqItjU+H/8cd1vAyxrx+ZNRd9n86y3yWx8 4LinfmrhIJIWGHydwbJLCjvSZhgFjqz88k2FXE+uvb82gRw8J3BumuGxo98ywu0JAIXu K4nPplm2eVMCejEn41CW1TR46lWrKnFYAXVXnBo70mKTmvme7SC7owc9eZX5Q7QeoLr8 s81AjLcy6NUN4opB36cemIf6TKMAkh7xH3Cw3jx3bsprUyFmPNVq1mDw5vPeTvGa38tK iKDWBPCO9vkD2i1miaXO84cj3BhAULvAwbmGoY7wAjDVjEmAxolGnPTEqJ90CYOM5A+P g6bA== X-Gm-Message-State: AOJu0Yx/mdwkH0KfhzoItB4XQRvNruz+BKsIq8DN5HU9Fmfqv9po7KDy 0xClYdH2DVdS9zmvY3f9jXIm8Iq6Qxyx4Lgdj05ALbvms7g= X-Received: by 2002:a4a:3c4e:0:b0:56c:cd0c:1d67 with SMTP id p14-20020a4a3c4e000000b0056ccd0c1d67mr7623526oof.7.1695717961931; Tue, 26 Sep 2023 01:46:01 -0700 (PDT) MIME-Version: 1.0 References: <20230922062558.1739642-1-max.kellermann@ionos.com> In-Reply-To: From: Ilya Dryomov Date: Tue, 26 Sep 2023 10:45:49 +0200 Message-ID: Subject: Re: [PATCH 1/2] fs/ceph/debugfs: make all files world-readable To: Max Kellermann 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 26 Sep 2023 01:46:14 -0700 (PDT) On Tue, Sep 26, 2023 at 8:16=E2=80=AFAM Max Kellermann wrote: > > 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. No, "ceph" command (as well as "rbd", "rados", etc) can be run from anywhere -- it's just a matter of installing a package which is likely already installed unless you are mounting CephFS manually without using /sbin/mount.ceph mount helper. Thanks, Ilya