]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: kill add_interval_usage 17807/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 19 Sep 2017 10:29:44 +0000 (18:29 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 19 Sep 2017 10:29:44 +0000 (18:29 +0800)
commit6d437c74e3c8b4305e95fb64f5bcc4d88e507692
treee15f5c31dd3805753de3b237a43864f9b97cdf32
parent28c8e8953c39893978137285a0577cf8c01ebc19
osd/PrimaryLogPG: kill add_interval_usage

Use inline size() member of interval_set instead, which is faster and simpler.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h