]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/mon: use a vector for mon_commands
authorKefu Chai <kchai@redhat.com>
Tue, 2 Mar 2021 10:08:27 +0000 (18:08 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 2 Mar 2021 11:04:28 +0000 (19:04 +0800)
commit3edaaab49337476c3851c749f0c06dfe3fe88650
tree17889f9d2ffd8a089cea55fd5c78701ec447b947
parent44e45cfc76229e4d240700a3429084971f23365e
crimson/mon: use a vector for mon_commands

for smaller memory foot print. as we don't have lots of mon_command in
flight, hence not likely to benefit from a O(log(n)) lookup.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/mon/MonClient.cc
src/crimson/mon/MonClient.h