]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: min_pg_log_entries == max == pg_log_dups_tracked 20394/head
authorSage Weil <sage@redhat.com>
Fri, 9 Feb 2018 22:36:35 +0000 (16:36 -0600)
committerSage Weil <sage@redhat.com>
Fri, 9 Feb 2018 22:36:35 +0000 (16:36 -0600)
commit2199b9a264640bfc1771dfc450052bfaf58541d4
treecb6305d0d4499718e73d04711d1469bfabfec7d5
parent774773e3aeb5ff1d7c5aad27f500ace061876848
osd: min_pg_log_entries == max == pg_log_dups_tracked

- avoid a memory utilization explosion when a pg is degraded
- avoid overhead of converting pg log entries to dup op entries.

The net of this is that during recovery we will keep fewer entries, which
means we will trigger backfill sooner rather than later.

In the future, it would still be nice to dynamically adjust this in such
a way as to avoid increasing the memory footprint (e.g., by borrowing
memory from BlueStore).

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/options.cc