]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
compressor: use generate_random_number for type="random" 18272/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 12 Oct 2017 16:46:09 +0000 (12:46 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 12 Oct 2017 17:30:16 +0000 (13:30 -0400)
commitacc6960040a5e8b0a7986299156c3c1325619ec4
treea7ae7c789ed68cb0d8d31bbff5aad914656b1a61
parent651baae2da247174f5164c371e612817113cf6d1
compressor: use generate_random_number for type="random"

use an existing thread-local random engine instead of constructing,
seeding, and locking a separate engine

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/compressor/Compressor.cc