Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp814255ybj; Tue, 5 May 2020 07:57:53 -0700 (PDT) X-Google-Smtp-Source: APiQypLsWHT8W3ZVx+xAhS6Hh0b3UQ6bz7X0UEeuFFVvX4LnY0gTm93bjP1Zyvw2X9A1/IjzccSO X-Received: by 2002:a05:6402:b15:: with SMTP id bm21mr2731908edb.307.1588690672857; Tue, 05 May 2020 07:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588690672; cv=none; d=google.com; s=arc-20160816; b=fMx1JmBLu4KsKkFxoM2WP2jI84VJXtDRvzGfTVsPSsxY2Sz4PKhUTmaDdAtECYI+KM UHOjO49peedz+coZYDOHGVnuRVyxtChRQBNzlMUtz1vDFH1GrWyKhcciG0K/fkmB4NfG cxscrUygEY9mrHcbQPSNt3PMJRMxYl/qgF6TgXwGaIlj5Kfl/hSXB4w7mvZXZZiLuJvj 0QZt8B19r3MYyzfy3a36yVBjlZEgA0DNtLbrIghlyjOrYQAYoPiOsQYzVzb65C2sGpyW ro5GbJ3+ghelkPIPc0T57dCTKa5lrJwNsj+kj3FgbAlmUvh1CWYo0Gw5o/QlXZh5eJDw TJ+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=mh+/U8wqdFg7MafbyGFVuTKteRvht37k9I8kF7zkRVw=; b=G3JYUy3Ad2wkRSgAgAHIZZzQFEDvW4XyfeiUGNlPzBpeE6buDEA2fmDHtmyRvhGbGJ wPcpCgmNa2+/PuDl/q9m65gfkL8rkdIfPs0AAsj+L0jDFaj2kvcLCQ0z2znBTozNfkly xbt2xBvDhYVu9+K65Mz94Bo6oHq6bq6jKh1fsPI0sB9bEgY9DVV2h/XZIYnxG482orZL HC/HAKuHpYfXOy/oUmsDA6elmmi4oiSVufiDvFIBShWQLZNNljirpRS6qLloXkStg81I VG7rCkVKszFCoq4+kHh9+eUKxwlBQDQLLmvO2AQ5COTXiArfRVdSUYnNXE/9w+Y71SCz jnig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=a5T8Eint; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si1240793ejc.110.2020.05.05.07.57.29; Tue, 05 May 2020 07:57:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=a5T8Eint; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729586AbgEEOzT (ORCPT + 99 others); Tue, 5 May 2020 10:55:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:53156 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729065AbgEEOzT (ORCPT ); Tue, 5 May 2020 10:55:19 -0400 Received: from tleilax.poochiereds.net (68-20-15-154.lightspeed.rlghnc.sbcglobal.net [68.20.15.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6B2C220735; Tue, 5 May 2020 14:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588690518; bh=Azr1vvaVE+dpgsB2aF/71FqLe9dlhB5Rzk/5TXfEeuE=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=a5T8EinthUvJYRSr+mDUEaHJpiDGT5FyYKSGeJgqQgPB9yzzJ/bZqKndMr8dmmZk+ G/+2kcFH/j8Q3frXdg/sV12LGzLgzwohBNdnh7k3qpqtxY5gguiTX0y/DuZD/h2Rfa BRuAWlKLuiClUuDIsOmttZKI3VAVLYTii0CAf3Dg= Message-ID: Subject: Re: [PATCH] ceph: demote quotarealm lookup warning to a debug message From: Jeff Layton To: Luis Henriques , Ilya Dryomov , Gregory Farnum Cc: ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 05 May 2020 10:55:17 -0400 In-Reply-To: <20200505125902.GA10381@suse.com> References: <20200505125902.GA10381@suse.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.2 (3.36.2-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-05-05 at 13:59 +0100, Luis Henriques wrote: > A misconfigured cephx can easily result in having the kernel client > flooding the logs with: > > ceph: Can't lookup inode 1 (err: -13) > > Change his message to debug level. > > Link: https://tracker.ceph.com/issues/44546 > Signed-off-by: Luis Henriques > --- > Hi! > > This patch should fix some harmless warnings when using cephx to restrict > users access to certain filesystem paths. I've added a comment to the > tracker where removing this warning could result (unlikely, IMHO!) in an > admin to miss not-so-harmless bogus configurations. > > Cheers, > -- > Luís > > fs/ceph/quota.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/ceph/quota.c b/fs/ceph/quota.c > index de56dee60540..19507e2fdb57 100644 > --- a/fs/ceph/quota.c > +++ b/fs/ceph/quota.c > @@ -159,8 +159,8 @@ static struct inode *lookup_quotarealm_inode(struct ceph_mds_client *mdsc, > } > > if (IS_ERR(in)) { > - pr_warn("Can't lookup inode %llx (err: %ld)\n", > - realm->ino, PTR_ERR(in)); > + dout("Can't lookup inode %llx (err: %ld)\n", > + realm->ino, PTR_ERR(in)); > qri->timeout = jiffies + msecs_to_jiffies(60 * 1000); /* XXX */ > } else { > qri->timeout = 0; > Merged into testing. Thanks Luis! -- Jeff Layton