]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/OSD: trim osd_markdown_log in tick() thread
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 3 Feb 2020 12:09:37 +0000 (20:09 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 3 Feb 2020 12:09:37 +0000 (20:09 +0800)
commit59db3379ae9c77358adc5e9f17aaa5e8462a036f
tree6183802edd7e95574907723b0b52a36afffe24df
parent29d850fb7ea69130f35ec1dca0d45dd07de5abd9
osd/OSD: trim osd_markdown_log in tick() thread

so we don't have to do it in multiple places. Note that
we can't do it in the tick_without_osd_lock thread instead
because we we can not access it safely without the protection
of osd_lock.

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