Re: [RFC PATCH] ceph: switch libceph on ratelimited messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 15, 2025 at 9:53 PM Viacheslav Dubeyko
<Slava.Dubeyko@xxxxxxx> wrote:
>
> Hello,
>
> The libceph subsystem can generate enourmous amount of
> messages in the case of error. As a result, system log
> can be unreasonably big because of such messaging
> policy. This patch switches on ratelimited version of

Hi Slava,

Do you have an example (which is not caused by a programming error)?

> pr_notice(), pr_info(), pr_warn(), and pr_err()
> methods by means of introducing libceph_notice(),
> libceph_info(), libceph_warn(), and libceph_err()
> methods.

Some of libceph messages are already ratelimited and standard
pr_*_ratelimited macros are used for that.  They are few apart, so
if there is a particular message that is too spammy, switching it to
a ratelimited version shouldn't be a problem, but we won't take
a blanket conversion like this.

Thanks,

                Ilya





[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux