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)
committerMike Marshall <hubcap@omnibond.com>
Wed, 10 Oct 2018 13:54:29 +0000 (09:54 -0400)
commit2978d873471005577e7b68a528b4f256a529b030
treea10f5b30566a64a66e74262c4151d3396cb93c34
parent052d12766b7147500d9d5017bb90d4524f01e731
orangefs: rate limit the client not running info message

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>
fs/orangefs/orangefs-sysfs.c