]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/pg: add an option to cap loop before we reset tp handle
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 23 Mar 2016 08:44:10 +0000 (16:44 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 23 Mar 2016 08:44:10 +0000 (16:44 +0800)
commitbb7ebe93bf4927aa36f57c9bb35301de5f0c9e38
tree398cec6d35c4106f2668d67cd66bd3d831b5a48c
parent757f8a09a2c38db726dbff888cef1adde1fe6624
osd/pg: add an option to cap loop before we reset tp handle

So we don't try to reset handle on every loop and this shall
save CPU a little bit.

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