]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: avoid potential expensive grace calculation
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 25 Apr 2016 07:43:03 +0000 (15:43 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 26 Apr 2016 03:25:40 +0000 (11:25 +0800)
commit3557903d5d57642179b2ae137bedc389974b1956
tree51000de679817429379b34a214fdeb18db156f52
parent68a3173420545f765b7b45c51920ffc310248523
mon/OSDMonitor: avoid potential expensive grace calculation

The grace calculation during check_failure() is now very complicated
and time-consuming. Therefore we shall skip this when it is possible.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/OSDMonitor.cc