]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
use llrintl when converting double to micro 2182/head
authorSage Weil <sage@redhat.com>
Thu, 31 Jul 2014 22:39:40 +0000 (15:39 -0700)
committerSage Weil <sage@redhat.com>
Thu, 31 Jul 2014 22:39:40 +0000 (15:39 -0700)
commit80911736bd61b6b88eac0974d24f21c15c5385a4
tree4e347663fe6d33a026a1fddfa1482e436ed1800d
parentf3d1f396f9c076d86e4dfa86302c7b89b23b8456
use llrintl when converting double to micro

This avoids rounding error (noticeable on i386).

Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc
src/osd/HitSet.h