]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mempool: simplify initialization
authorSage Weil <sage@redhat.com>
Tue, 18 Oct 2016 16:01:52 +0000 (12:01 -0400)
committerSage Weil <sage@redhat.com>
Wed, 2 Nov 2016 17:48:49 +0000 (13:48 -0400)
commitbfeaed64120d4bb443bc6dfed4b2450533f3048e
tree2c0e8a1e2c16e623ba47a91bec9c572b7569b490
parent79ee6eec6c59fc94d371e1ca3d2168f5e76fcfa6
mempool: simplify initialization

Assume that the array will be zeroed when the process starts, and
avoid the possibility that it will be zeroed *again* when the
ctors run for this link module (potentially clobbering values
that have been filled in by other ctors who ran earlier than
ours).

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