]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: fix the truncation of an int by int division
authorRonen Friedman <rfriedma@redhat.com>
Sat, 25 Sep 2021 11:42:56 +0000 (11:42 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Sat, 25 Sep 2021 11:42:56 +0000 (11:42 +0000)
commit6f2b4d3dd26b0ee072949888560b40bbeb3dc27e
tree8d7d22e4b65f6d7049abaa50cb3bd7673a9b85eb
parent6bf32314f75fffd4473705cfaebdf47aa2a9735d
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>
src/osd/OSD.cc