]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: use atomic variable to track reference of MetaRequeset
authorYan, Zheng <zyan@redhat.com>
Thu, 9 Oct 2014 05:16:18 +0000 (13:16 +0800)
committerGreg Farnum <gfarnum@redhat.com>
Fri, 13 Feb 2015 22:41:09 +0000 (14:41 -0800)
commitea355e9ca5203b77e6f74ca4a3e39ce23cc86f67
tree8ffe6ec9a9b688fa6feba0c5c235f59f4cf07606
parentccbdf514717cb0e48d67b57197d6e538faeea415
client: use atomic variable to track reference of MetaRequeset

this allow us to increase reference count of MetaRequest while not holding
the client_lock

Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit e464a7765230c504b3e3b88bcb1106f67b7c3eb9)
src/client/Client.cc
src/client/MetaRequest.h