]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: change warn_interval_multiplier to uint32_t
authorLoic Dachary <loic@dachary.org>
Tue, 24 Sep 2013 17:04:23 +0000 (19:04 +0200)
committerSage Weil <sage@inktank.com>
Tue, 24 Sep 2013 17:27:48 +0000 (10:27 -0700)
commitf6510c766592dbfa518e8667ed4d852d7e9319c0
tree563fc7142d89bc0854c9c9c2605ae8ad76c9c1e5
parent84e1f09626a718c42722ae97fa038004febb9671
osd: change warn_interval_multiplier to uint32_t

to prevent overflow in OpTracker::check_ops_in_flight when
multiplying warn_interval_multiplier *= 2

Backport: cuttlefish, dumpling

http://tracker.ceph.com/issues/6370 fixes #6370

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 1bce1f009bffd3e28025a08775fec189907a81db)
src/osd/OpRequest.h