]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: do not set osd_memory_target default from cgroup limit
authorSage Weil <sage@redhat.com>
Fri, 9 Aug 2019 17:25:59 +0000 (12:25 -0500)
committerSage Weil <sage@redhat.com>
Fri, 9 Aug 2019 17:25:59 +0000 (12:25 -0500)
commit9346d3c3bcde7d0a68e21a554eb7fc836df78ba9
tree7b72ea720d1d1cc2303372145037f2aad45ff102
parente6514a0567eff9f013bd6b4abee8cbd9d39a1382
os/bluestore: do not set osd_memory_target default from cgroup limit

On the aarch64 box I'm testing, this gives us a value of
7378697629483768832, which is not what we want.

I think we are better off relying on this limit being explicitly set via
environment variables (POD_* by kuberentes/rook) or via the command line.

This partially reverts 5c6b533697814af8acfd9e731a2599b2294687ef, but not
all of it, since we wan to keep the option itself, as it is now used by
common/config.cc when dealing with the POD_MEMORY_LIMIT env var.

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