Skip to content

Commit 12ae44a

Browse files
Luis Henriquesidryomov
authored andcommitted
ceph: demote quotarealm lookup warning to a debug message
A misconfigured cephx can easily result in having the kernel client flooding the logs with: ceph: Can't lookup inode 1 (err: -13) Change this message to debug level. Cc: [email protected] URL: https://tracker.ceph.com/issues/44546 Signed-off-by: Luis Henriques <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
1 parent 3a5ccec commit 12ae44a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/ceph/quota.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ static struct inode *lookup_quotarealm_inode(struct ceph_mds_client *mdsc,
159159
}
160160

161161
if (IS_ERR(in)) {
162-
pr_warn("Can't lookup inode %llx (err: %ld)\n",
163-
realm->ino, PTR_ERR(in));
162+
dout("Can't lookup inode %llx (err: %ld)\n",
163+
realm->ino, PTR_ERR(in));
164164
qri->timeout = jiffies + msecs_to_jiffies(60 * 1000); /* XXX */
165165
} else {
166166
qri->timeout = 0;

0 commit comments

Comments
 (0)