]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix the truncation of an int by int division 45376/head
authorRonen Friedman <rfriedma@redhat.com>
Sat, 25 Sep 2021 11:42:56 +0000 (11:42 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 14 Mar 2022 12:56:21 +0000 (12:56 +0000)
commit7faeef8568d561d140785399f9073f21f393e840
tree2ace01018d15a1cb477ee686cc6f1df0740f23f1
parentae5a674e370fd9fc53984667ce1643eee808b65a
osd: fix the truncation of an int by int division

The 'r' coeff calculated in OSD::tick() was always 0.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 6f2b4d3dd26b0ee072949888560b40bbeb3dc27e)
src/osd/OSD.cc