]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSD: Log aggregated slow ops detail to cluster logs 44771/head
authorPrashant D <pdhange@redhat.com>
Fri, 29 Oct 2021 13:09:24 +0000 (09:09 -0400)
committerPrashant D <pdhange@redhat.com>
Thu, 27 Jan 2022 18:49:30 +0000 (18:49 +0000)
commita1156c922a470f05052fe63236eb82324d57b54e
tree95c23285ce8ccfde375fa7042bf6cd2f93121f55
parentc497af042cca1f5f5e093c01b54fa82fdb392e72
osd/OSD: Log aggregated slow ops detail to cluster logs

Slow requests can overwhelm a cluster log with every slow op in
detail and also fills up the monitor db. Instead, log slow ops
details in aggregated format.

Fixes: https://tracker.ceph.com/issues/52424
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit 9319dc9273b36dc4f4bef1261b3c57690336a8cc)

Conflicts:
       src/common/options/osd.yaml.in: Removed osd.yaml.in as
                 pacific release does not support options in
                 yaml format. Added new config
                 'osd_aggregated_slow_ops_logging' to common/options.
src/common/legacy_config_opts.h
src/common/options.cc
src/osd/OSD.cc
src/osd/OpRequest.h