]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdservice: state changed to atomic_t to decrease thread context switch. 6492/head
authorXiaowei Chen <cxwshawn@gmail.com>
Mon, 16 Nov 2015 02:56:22 +0000 (21:56 -0500)
committerXiaowei Chen <cxwshawn@gmail.com>
Mon, 16 Nov 2015 02:56:26 +0000 (21:56 -0500)
commita8b746411efdf31fc6f60c15b5caacf54af5bc20
tree053fee50296eae18a9aac6944ce6e4bfd2845cb2
parentb3a129041a7ca29d99218fbd31218d800cb83906
osdservice: state changed to atomic_t to decrease thread context switch.

    service.is_stopping is in the key IO path, hot call, better use spinlock.

Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
src/osd/OSD.cc
src/osd/OSD.h