]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSD::ScrubJob: correctly handle small osd_scrub_interval_randomize_ratio 7147/head
authorSamuel Just <sjust@redhat.com>
Tue, 5 Jan 2016 23:23:01 +0000 (15:23 -0800)
committerSamuel Just <sjust@redhat.com>
Wed, 6 Jan 2016 00:31:12 +0000 (16:31 -0800)
commit5f1a530c805060878511116884a0be4edf17504c
tree32186d59f16ed08cd9efe9e12b62a66fcae90f06
parent64cb6e55698c4a684a36642b51f3c8ba26e118db
OSD::ScrubJob: correctly handle small osd_scrub_interval_randomize_ratio

utime_t &operator+=(utime_t, double) exists, let's just use that and
not muck about with converting the double to an int.

Fixes: 14247
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/OSD.cc