Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1385071rdh; Mon, 25 Sep 2023 11:03:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEqU56iRignm9WYMTSU91TIgXjq+58wEg7hGRtR9z/AEg2brzGQQdVfR8oIPsno3fKAaikd X-Received: by 2002:a17:90b:1e02:b0:274:77b3:64d0 with SMTP id pg2-20020a17090b1e0200b0027477b364d0mr416610pjb.17.1695665012039; Mon, 25 Sep 2023 11:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695665012; cv=none; d=google.com; s=arc-20160816; b=G0DYEfAVVc5auyl9OwfOI/GYP6ONDXnb7YLjEFCJLRKrPsQEq/5i7Do8YEsZCbk7RF pf129mp0WD+xUZHTbKFVM+7YzEleNTbxWY0gjSgggQC1Sc841cBJOf4cjRJ79WY9amOq Dl3x0hOEgX9S6lvdBydRoqMAr16ZK5DWUMV2I0Ld4j85S3fn8dwFszgK/GM0LwbBvub1 FM2bnNl6M7I/TVcnVjE9z2h9kxqG+lfvuRIYLcnaTsL0m4gu1bsoL6ztSy6hPP0JTDfJ 1BTEyfknuiDGBqIiG8zkL/PtA0gaW2xwllyT2PHEBJYKF0U287WX2tALUL4rIEgnnjE2 PUNA== 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=BCYYXo6QUFwHENfz0rJ0lvEQqMwZMCKqE5h3IXB6SP4=; fh=AnB3P8VVLsAmo3IQJYG1FWljy5suCvCnpe4pnEGPlSw=; b=iNMr0VXWBZHLq9+fQfHEeOKm4HjLQGPQ8Iul+iAjX/eOPsEWLenzamVFNMBIkJWSgt sYkRM8Sw97ie9KUrtKfKUJptd9INEF+9xVSTtNYTqe8lu+cMaJnmfhbVhhpVi9btLJQ5 Nksve2VkhvkKysJGmkqkSeSViAzJBfuN0rhU48J+vCbWmbUcQSznl3jrqA7qj03V+QwH lhYIMQ66Urn9cgJ4xM/d32gBJz+Sq21qSQHGeN019T04uan86UDzg3uS2sA4QN2CQGCR sVDH1Qfvkx0jxzOqAx0xYkp1+NY6eekWEOUPFdrlDKPQO0/sWGLOgzakydkO1hJsKghg LLnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GQMxrc4u; 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 a3-20020a17090a688300b002700bcdbff1si12569935pjd.154.2023.09.25.11.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 11:03:32 -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=GQMxrc4u; 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 E5184809348D; Mon, 25 Sep 2023 03:42:11 -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 S232490AbjIYKmL (ORCPT + 99 others); Mon, 25 Sep 2023 06:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231278AbjIYKmK (ORCPT ); Mon, 25 Sep 2023 06:42:10 -0400 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC43AA3; Mon, 25 Sep 2023 03:42:03 -0700 (PDT) Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-6c496719a9aso3168760a34.0; Mon, 25 Sep 2023 03:42:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695638523; x=1696243323; 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=BCYYXo6QUFwHENfz0rJ0lvEQqMwZMCKqE5h3IXB6SP4=; b=GQMxrc4uaqUAdD4IFXQzz4bl/EcVU3G0L+Vd4EAdO3bbYt2po0LLV2L80SOh0gQ2EB NyKHAEg9SouH5LNQOS57rfE1eRi4h0KIXZ46hiVXJ0KjpVFVvdDGK0TTE4ccYNrD64T1 NaAMGN0GNlMbDE8FetPQhyYaC9Ivqy9lx2Uz3bMEuUimkeukcfnz4OQwBjdVGRZNAfcp HNiY4qMwKjBoXQrUR4dpMTyNlyUcLH3BgA3gXRcHgYyxnGYgy34df/4dFCzzVD8/9yOo zK86jKreAy9M8eacJ1jtInYUD8RRgjeN4oyHZbGF0cUavif4TEeUtcB+JAhqhvNydIVa gP3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695638523; x=1696243323; 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=BCYYXo6QUFwHENfz0rJ0lvEQqMwZMCKqE5h3IXB6SP4=; b=DhEc1JOcMmRGlqztkpwnlGLPARzhKUVbg1U31fLhXH8w5Fv9njn1Opoarifr1x4TFj HtHZVHto9SOFXLwV5nVERZWVx+D5e3tjPsPbvca57orINcbjcqW00tc2uN/cHawoiW3m GEqVjizfTUKH62/4mqd1OmCRN8U44BhkwkwrfT/ON96mH2RCYMACWnhPyzZK1W+IcdJ3 ZjItthH22lvlCrnc0PbxNIDN8sRmgWUyyma91sSHpBA2jMOk9t8CHgPyIYEEqsTaGu4K 3IUWhjp79XSJ4RLzFZS3skrmCqK9cjVcP2Fh9/TNk6K9CJFrzIN90LuB5L489jpcZvH8 hMkA== X-Gm-Message-State: AOJu0YyoSiT1ErKCDLZNclYemkaK4/A4v5xkhLy80jjVwEr6f4O4oZPa Xd0EnGwOGXbAwldLm+9TLe5PByZMAGLNezI3URw= X-Received: by 2002:a05:6830:438e:b0:6bd:335e:1eda with SMTP id s14-20020a056830438e00b006bd335e1edamr5653596otv.11.1695638523271; Mon, 25 Sep 2023 03:42:03 -0700 (PDT) MIME-Version: 1.0 References: <20230922062558.1739642-1-max.kellermann@ionos.com> In-Reply-To: <20230922062558.1739642-1-max.kellermann@ionos.com> From: Ilya Dryomov Date: Mon, 25 Sep 2023 12:41:51 +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_BLOCKED,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]); Mon, 25 Sep 2023 03:42:12 -0700 (PDT) On Fri, Sep 22, 2023 at 8:26=E2=80=AFAM Max Kellermann wrote: > > I'd like to be able to run metrics collector processes without special > privileges Hi Max, 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. 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). Thanks, Ilya