]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/mempool: Add test for mempool shards
authorAdam Kupczyk <akupczyk@redhat.com>
Mon, 25 Jan 2021 10:33:28 +0000 (11:33 +0100)
committerAdam Kupczyk <akupczyk@redhat.com>
Mon, 25 Jan 2021 13:44:10 +0000 (14:44 +0100)
commite4e07de8f36d0d44b341d5784a8bf56192201b95
treecb6e21acf6af5cc27e4d848f9b244a0731c73f12
parent70828cb1a8014f8c92cf86014114fd7aab6861c9
common/mempool: Add test for mempool shards

Add test that checks quality of mempool sharing.
It refuses to accept cases when variance is too large.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/include/mempool.h
src/test/test_mempool.cc