]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: restructure cache trimming in terms of mempool
authorSage Weil <sage@redhat.com>
Tue, 11 Oct 2016 18:25:01 +0000 (14:25 -0400)
committerSage Weil <sage@redhat.com>
Wed, 2 Nov 2016 17:48:48 +0000 (13:48 -0400)
commitbcf20a1ca12ac0a7d4bd51e0beeda2877b4e0125
treee2b149ab0f20c0578d7146cb2fc7784535b316b1
parent030bc063e44e27f2abcf920f4071c4f3bb5ed9ea
os/bluestore: restructure cache trimming in terms of mempool

Trim cache based on overall memory utilization by cache objects,
as tracked by the bluestore_meta_* mempools.  This lets you
configure the bluestore cache size in terms of bytes of memory.

Note that we do not account for other memory utilization by the
OSD.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h