]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
orangefs: rate limit the client not running info message
authorColin Ian King <colin.king@canonical.com>
Wed, 5 Sep 2018 14:54:01 +0000 (15:54 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 28 Nov 2019 04:59:27 +0000 (23:59 -0500)
commita9203e288269cc6a0dc7f3f159d2c964d8c840ad
tree4a80e1513bd8baefeff002332314b4daffdb9b45
parentc8f3ba532e9c55fa94ac95e2c00af60c82b00b04
orangefs: rate limit the client not running info message

BugLink: https://bugs.launchpad.net/bugs/1854216
[ Upstream commit 2978d873471005577e7b68a528b4f256a529b030 ]

Currently accessing various /sys/fs/orangefs files will spam the
kernel log with the following info message when the client is not
running:

[  491.489284] sysfs_service_op_show: Client not running :-5:

Rate limit this info message to make it less spammy.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
fs/orangefs/orangefs-sysfs.c