]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Revert "core: hint the dout()'s message crafting as a cold code." 20636/head
authorKefu Chai <kchai@redhat.com>
Wed, 28 Feb 2018 08:24:16 +0000 (16:24 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 28 Feb 2018 08:29:34 +0000 (16:29 +0800)
commitd1df1f8e09abb68cb9d47a54f5ed3941e2f33019
tree7c7f6d4a66095adc1c180b62595f293a6e1df8eb
parentbf5cb2e10e876892c75b613fd3b9e5d1cfa08d84
Revert "core: hint the dout()'s message crafting as a cold code."

This reverts commit b265ed2955570c17b954270e6a1449637790e9b8.

with b265ed29, we cannot use `dout(10) << __func__ << ...` anymore for
logging the name of the inner most function. what we will have is
always `operator()`, because the lambda closure will be the inner most
function with the the hinting change.

Fixes: http://tracker.ceph.com/issues/23169
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/compiler_extensions.h
src/common/dout.h
src/common/likely.h