]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PrimaryLogPG: only trim up to osd_pg_log_trim_max entries at once 20827/head
authorJosh Durgin <jdurgin@redhat.com>
Thu, 8 Mar 2018 03:31:59 +0000 (22:31 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Sat, 10 Mar 2018 00:14:28 +0000 (19:14 -0500)
commit1c15458a00e64d1fd0127ae171305b8f8afa6619
tree8b2a7cfb0fbce8fb1688f79be4a28d4e2efb2b24
parentb50186bfe6c8981700e33c8a62850e21779d67d5
PrimaryLogPG: only trim up to osd_pg_log_trim_max entries at once

This prevents the fix for http://tracker.ceph.com/issues/22050 or
potential future bugs from causing too much latency by trimming too
many log entries at once.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
qa/standalone/osd/repro_long_log.sh
src/osd/PrimaryLogPG.cc