]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
The function op_is_discardable introduces lock overhead which can 8717/head
authorZhenyuLeng <lengzhenyu@ict.ac.cn>
Sat, 23 Apr 2016 10:45:55 +0000 (18:45 +0800)
committerZhenyuLeng <lengzhenyu@ict.ac.cn>
Mon, 16 May 2016 01:55:24 +0000 (09:55 +0800)
commit6171ffbced3869d713307f45878b37a7f5b73846
tree759ea6a5ccd97747d0ea143a4cbe654438c39a2f
parent10f9a1d1b38b8aeac029cb7332ee67fc8e80eb6e
The function op_is_discardable introduces lock overhead which can
The function op_is_discardable introduces lock overhead which can
not be ignored.It would be better to judge if to discard op when
the connection disconnected as a parameter whether the network is
believable or extremely unlikelihood.

add g_conf osd_discard_disconnected_ops to control whether to
discard op when the connection disconnected
Waiting for test

Signed-off-by: ZhenyuLeng <lengzhenyu@ict.ac.cn>
src/common/config_opts.h
src/osd/PG.cc